From owner-freebsd-questions Sun Mar 28 18:21:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from berkeleycs.ml.org (unknown [206.110.18.251]) by hub.freebsd.org (Postfix) with ESMTP id AFD6C14E0C for ; Sun, 28 Mar 1999 18:21:50 -0800 (PST) (envelope-from bearmaps@berkeleycs.ml.org) Received: (from bearmaps@localhost) by berkeleycs.ml.org (8.9.2/8.9.1) id SAA16800; Sun, 28 Mar 1999 18:14:34 -0800 (PST) Date: Sun, 28 Mar 1999 18:14:33 -0800 From: Spam Me Here To: Karl Pielorz , freebsd-questions@freebsd.org Subject: Re: Seeing new libs in /usr/local/lib? (ldconfig?) Message-ID: <19990328181433.B32089@bear.berkeleycs.ml.org> References: <36FEC784.BC51505E@tdx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <36FEC784.BC51505E@tdx.co.uk>; from Karl Pielorz on Mon, Mar 29, 1999 at 01:21:24AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Their are two things you can do, first for ldconfig, to get it to scan /usr/local/lib, you would type ldconfig /usr/local/lib to get your program to find libraries in /usr/local/lib, you should set LD_LIBRARY_PATH to /usr/local/lib On Mon, Mar 29, 1999 at 01:21:24AM +0100, Karl Pielorz wrote: > Hi, > > Does anyone know how I can get the system to see new libraries I have in > /usr/local/lib? - I've installed a number of ports - and now when I go to > compile up software it fails to find things like the ttf (freetype) library, > but will find others (like the gd library)... Yet in /usr/local/lib I have > listed: > > libttf.a > libgd.a > > I've looked at the man page for ldconfig, and tried running: > > ldconfig -aout -v -R > ldconfig -elf -v -R > > In a vain attempt to get it to re-scan the directory, but it doesn't seem to > work... Can anyone offer any more info / suggestions? I've checked things > through and it's definitely failing at the linking stage (i.e. it can find all > the headers etc. it wants) > > I'm using FreeBSD 3.1 with this (i.e. ELF & AOUT libraries) > > -Kp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message