From owner-freebsd-hackers Sat Feb 17 19:21: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id AF3ED37B491 for ; Sat, 17 Feb 2001 19:20:54 -0800 (PST) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id 7C22F18C96; Sat, 17 Feb 2001 21:20:53 -0600 (CST) Received: (from nectar@localhost) by hamlet.nectar.com (8.11.2/8.9.3) id f1I3KrU97296; Sat, 17 Feb 2001 21:20:53 -0600 (CST) (envelope-from nectar@spawn.nectar.com) Date: Sat, 17 Feb 2001 21:20:53 -0600 From: "Jacques A. Vidrine" To: Maximus Cc: freebsd-hackers@freebsd.org Subject: Re: [moebius@bitstream.net: 4.1.1-release ldconfig issue] Message-ID: <20010217212053.A97263@hamlet.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Maximus , freebsd-hackers@freebsd.org References: <20010216213422.B197@bitstream.net> <20010217090732.B37238@spawn.nectar.com> <20010217124124.C457@bitstream.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010217124124.C457@bitstream.net>; from moebius@bitstream.net on Sat, Feb 17, 2001 at 12:41:25PM -0600 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 17, 2001 at 12:41:25PM -0600, Maximus wrote: > Wonderful...partly. This worked to get the lib in ldconfig, but then > I noticed that it still couldn't find the lib. Well, as I said, the hints are not used for linking at all. > Trussing 'ld -liconv' revealed that it was only looking in /usr/lib. > I have a LD_LIBRARY_PATH, and even went so far as to create a LD_FLAGS > var. Neither of these things made ld even glance beyond /usr/lib. LD_LIBRARY_PATH is not used at link time, only at run time. If you want additional paths to be searched for libraries, use the -L flag. You may want to read `info -f gcc' and/or `info -f ld' if you have further trouble. Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message