Skip navigation.
Home

ROX-CLib

Summary: 
C library for ROX
Current stable version: 
2.1.9
Primary author(s): 
Stephen Watson

ROX-CLib contains shared code which can be used by other ROX applications. It does not require root access to install, but does need to be compiled (it's written in C).

It provides interfaces to the Choices system, Drag-and-drop loading and saving, remote operation via SOAP, and others.

Installation

Extract the `rox-clib' archive and drag it into one of the following directories:

  • ~/lib (create 'lib' in your home directory first if needed)
  • /usr/local/lib
  • /usr/lib

If you place it elsewhere be sure to set the environment variable LIBDIRPATH to the correct directory before you run anything that requires it. e.g.

LIBDIRPATH=$HOME/my-lib-dir export LIBDIRPATH

It must be called ROX-CLib, otherwise other programs won't be able to find it.

Open it in its new location to compile it.

ROX-CLib and libglitz

Note that the latest binary (2.1.8) won't start without libglitz:

~/.cache/0install.net/implementations/
sha1=6e968e8878515184ba8f3404ac845cc9cd660398/
ROX-CLib/Linux-ix86/bin/pkg: error while loading shared libraries: 
libglitz.so.1: cannot open shared object file: No such file or directory

It probably needs to be recompiled against an older version of GTK (I keep a copy of 2.6.8 around for making ROX-Filer binaries).

Injector users can either install libglitz, or mark ROX-CLib 2.1.8 as buggy to make the injector use the previous version:

  1. In ROX-Filer, right click on a program that uses ROX-CLib and won't start.
  2. Choose Versions... from the menu.
  3. Double-click on ROX-CLib.
  4. In the list of versions, right-click in the stability column of version 2.1.8 and change the stability to 'buggy'.

The program should now work.

See also:

Syndicate content