Date: Sun, 28 Mar 1999 18:14:33 -0800 From: Spam Me Here <bearmaps@berkeleycs.ml.org> To: Karl Pielorz <kpielorz@tdx.co.uk>, freebsd-questions@freebsd.org Subject: Re: Seeing new libs in /usr/local/lib? (ldconfig?) Message-ID: <19990328181433.B32089@bear.berkeleycs.ml.org> In-Reply-To: <36FEC784.BC51505E@tdx.co.uk>; from Karl Pielorz on Mon, Mar 29, 1999 at 01:21:24AM %2B0100 References: <36FEC784.BC51505E@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990328181433.B32089>