Date: Wed, 10 Nov 1999 15:50:08 -0800 (PST) From: Alfred Perlstein <bright@wintelcom.net> To: Scott Benjamin <sab@sinai.dhs.org> Cc: stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: ldconfig finding libraries, but ld is not. Message-ID: <Pine.BSF.4.05.9911101549250.12797-100000@fw.wintelcom.net> In-Reply-To: <Pine.LNX.4.10.9911101455330.11590-100000@sinai.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Nov 1999, Scott Benjamin wrote: > > I've installed some libs on my machine (3.3-STABLE 11-09-1999) in > /usr/local/lib, via ports and some tarballs. I have let ldconfig_path in > rc.conf. When I do a ldconfig -r -v -elf | grep libname, it finds the > correct library. but when I try to link, the linker can't find the > libraries. Any ideas? I'm a bit frustrated. I would prefer to not set > LD_LIBRARY_PATH if at all possible. you must either set LD_LIBRARY_PATH or use the -L/path/to/wierd/library/dir flag to gcc to tell it where to look. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9911101549250.12797-100000>