On Thu, 28 Feb 2002, Jim Beard wrote:
>Do you have the source for the program? If so I believe you can just 
>explicitly link against it while compiling and then it should be fine.  
>Otherwise, I'd guess there is some standard gtk library directory that 
>you could drop a sym link into.
>
>On Thursday, February 28, 2002, at 04:43  PM, [EMAIL PROTECTED] wrote:
>> I have a program that I am trying to run. I get an error 
>> Gtk-WARNING **: Unable to locate loadable module in module_path: 
>> "libraleigh.so". This file does exist on the hard drive. Its location 
>> is /usr/lib/themes/engines/libraleigh.so. how can I fix it so the 
>> program can find this file?

Another approach is to add the location of the missing library to the
LD_LIBRARY_PATH environment variable.  LD_LIBRARY_PATH contains a
colon-separated list of directories to search for libraries, in addition to
the standard library directories.

For example (using bash syntax),

     export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/themes/engines

if you already have an LD_LIBRARY_PATH, or

     export LD_LIBRARY_PATH=/usr/lib/themes/engines

if you don't.

If you use this often, you'll probably want to set it in your .profile or
.bash_profile, so you'll get it every time you log on.

               - Neil Parker, [EMAIL PROTECTED]

Reply via email to