From owner-freebsd-questions Mon Mar 29 0:53:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id 4D14814E1B for ; Mon, 29 Mar 1999 00:53:25 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.3/8.9.3/Kp) with ESMTP id JAA87968 for ; Mon, 29 Mar 1999 09:53:05 +0100 (BST) Message-ID: <36FF3F71.E418E120@tdx.co.uk> Date: Mon, 29 Mar 1999 09:53:05 +0100 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Seeing new libs in /usr/local/lib? (ldconfig?) References: <36FEC784.BC51505E@tdx.co.uk> <19990328181433.B32089@bear.berkeleycs.ml.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Spam Me Here wrote: > > 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 Thanks for the reply... Sadly neither of the above worked. The compilation process still bombs out while looking for 'libttf.a' - which is blatently in /usr/local/lib If I run 'ldconfig -v -aout' I get a huge stream of library names pass by... If I do the same with 'ldconfig -v -elf' I get nothing - is this right? I've read the man page for ldconfig, but I'm really much more enlightened... :( The library was built recently on my machine - so I assume it's going to be elf? - I'm still not sure why it will see the libgd.a, but not libttf.a - If I even just symlink libttf.a to /usr/lib the compile goes OK, but I don't really want to do this... Anything else I can try? Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message