This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
collect2 and shared library locations
- To: egcs at cygnus dot com
- Subject: collect2 and shared library locations
- From: Peter Simons <peter dot simons at gmd dot de>
- Date: 07 Sep 1998 20:40:29 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
under NetBSD Unix the directories where shared library objects may be
are controlled by the ldconfig(8) utility, which in turn reads the
/etc/ld.so.conf file for a list of directories to search in. For
example, I can place a shared library in /where/ever, add this
directory name to the config file, call ldconfig and immediately ld(1)
will find the library.
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?
-peter
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
iQCVAwUBNfQonA9HL1s0103BAQH1lwQAyFIpOjSw4bMIXukFpdfvIv9+nki7Wn+8
ANFSFdHk+bhqGVmErEjnpWDqClimV9TZ597cbtUapHuRM7+uBzA7QuaUmDKw+zfT
VQu1oL9GK4Ae/MwirIfH8RJmNJAyaS3v6SIM4rVZXsx5cTH1Tz1BjNXLadCMKnt1
CrN10tZg86Y=
=rixs
-----END PGP SIGNATURE-----