[lug] runtime link directory specification

D. Stimits stimits at idcomm.com
Tue Sep 4 22:38:56 MDT 2001


Tkil wrote:
> 
> some programs use a wrapper script that sets LD_LOAD_PATH or similar
> before running; mozilla uses this for plugins, i think.
> 
> also, you can try using "strace" in situations like this, to see where
> your process is looking for the file you're trying to dlopen.
> 
> t.
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

It's for a modular plugin system, that has has both regular libraries,
and dynamically loadable modules, both in an exact, known, pre-arranged
directory tree. The -rpath and -rpath-link were what I needed, but it
had been failing due to missing symbolic links. Problem solved :)

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list