From owner-freebsd-questions Wed Nov 22 11:14: 7 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 A92EE37B4C5 for ; Wed, 22 Nov 2000 11:14:05 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eAMJE0W19067; Wed, 22 Nov 2000 11:14:00 -0800 (PST) Date: Wed, 22 Nov 2000 11:14:00 -0800 From: Alfred Perlstein To: Jamie Heckford Cc: Mike Eldridge , freebsd-questions@FreeBSD.ORG Subject: Re: setting -l paths in gcc Message-ID: <20001122111400.N18037@fw.wintelcom.net> References: <00112218595800.00214@freefire.psi-domain.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00112218595800.00214@freefire.psi-domain.co.uk>; from heckfordj@psi-domain.co.uk on Wed, Nov 22, 2000 at 06:57:01PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message