collect2 and shared library locations

Todd Vierling tv@pobox.com
Wed Sep 9 16:53:00 GMT 1998


On 7 Sep 1998, Peter Simons wrote:

: It appears, though, that collect2 does not use this mechanism, but
: wants the directory list to be set in $LD_LIBRARY_PATH. Is there any
: chance to remedy this? Or am I doing something wrong?

Hm.

Are you having problems _linking_ to libraries?  In that case, you shouldn't
be depending on ld.so.conf, rather on -L/path/to/lib/dir.  (ld.so.conf
_shouldn't_ affect ld(1), and if it does, that's actually a Bug.)

More details on what problem you are experiencing would help.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)




More information about the Gcc mailing list