From owner-freebsd-stable Wed Nov 10 15:25:17 1999 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id F02C714D48; Wed, 10 Nov 1999 15:25:14 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id PAA01842; Wed, 10 Nov 1999 15:50:08 -0800 (PST) Date: Wed, 10 Nov 1999 15:50:08 -0800 (PST) From: Alfred Perlstein To: Scott Benjamin Cc: stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: ldconfig finding libraries, but ld is not. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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