From owner-freebsd-questions Wed Nov 22 14:56: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from shalimar.net.au (shalimar.net.au [198.142.161.98]) by hub.freebsd.org (Postfix) with ESMTP id 266C937B4C5 for ; Wed, 22 Nov 2000 14:55:58 -0800 (PST) Received: from shalimar.net.au (localhost [127.0.0.1]) by shalimar.net.au (8.11.1/8.11.1) with SMTP id eAMMtRN05334; Thu, 23 Nov 2000 09:55:27 +1100 (EST) (envelope-from count@shalimar.net.au) From: Zero Sum Organization: Tobacco Chewers and Body Painters Association. Date: Thu, 23 Nov 2000 09:55:26 +1100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" Cc: Mike Eldridge , freebsd-questions@FreeBSD.ORG To: Alfred Perlstein , Jamie Heckford References: <00112218595800.00214@freefire.psi-domain.co.uk> <20001122111400.N18037@fw.wintelcom.net> In-Reply-To: <20001122111400.N18037@fw.wintelcom.net> Subject: Re: setting -l paths in gcc MIME-Version: 1.0 Message-Id: <00112309552601.05065@shalimar.net.au> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday 23 November 2000 06:14, Alfred Perlstein wrote: > * Jamie Heckford [001122 10:56] wrote: > > The problem is I am trying to install Imlib2. > > > > the configure script checks for -lttf, and when it can't find it complains that > > libttf is not installed, which I do have installed under > > /usr/local/lib/libttf.so. > > > > when i type gcc -lttf it complains: > > > > /usr/libexec/elf/ld: cannot find -lttf > > > > How do i set -lttf to point at the /usr/local/lib/libttf.so so the configure > > script finds it?? > > adding -L/usr/local/lib to the LDFLAGS variable should work. > Won't that look for /usr/local/lib/libttf.a ? Is there some confusion about static and dynamic loading here? Or am I confused? Geoff -- count@shalimar.net.au Nihil curo de ista tua stulta superstitione To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message