From owner-freebsd-questions Wed Nov 22 15:24:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6291137B479 for ; Wed, 22 Nov 2000 15:24:33 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eAMNOIj26442; Wed, 22 Nov 2000 15:24:18 -0800 (PST) Date: Wed, 22 Nov 2000 15:24:18 -0800 From: Alfred Perlstein To: Zero Sum Cc: Jamie Heckford , Mike Eldridge , freebsd-questions@FreeBSD.ORG Subject: Re: setting -l paths in gcc Message-ID: <20001122152418.T18037@fw.wintelcom.net> References: <00112218595800.00214@freefire.psi-domain.co.uk> <20001122111400.N18037@fw.wintelcom.net> <00112309552601.05065@shalimar.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00112309552601.05065@shalimar.net.au>; from count@shalimar.net.au on Thu, Nov 23, 2000 at 09:55:26AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Zero Sum [001122 14:55] wrote: > 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? afaik you're confused. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message