From owner-freebsd-questions Wed Nov 22 11: 4: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cafes.net (mail.cafes.net [207.65.182.25]) by hub.freebsd.org (Postfix) with ESMTP id A151737B479 for ; Wed, 22 Nov 2000 11:04:07 -0800 (PST) Received: from mail.cafes.net (mail.cafes.net [207.65.182.25]) by mail.cafes.net (8.9.3/8.9.3) with ESMTP id NAA15058; Wed, 22 Nov 2000 13:03:55 -0600 Date: Wed, 22 Nov 2000 13:03:55 -0600 (CST) From: Mike Eldridge To: Jamie Heckford Cc: freebsd-questions@freebsd.org Subject: Re: setting -l paths in gcc In-Reply-To: <00112218595800.00214@freefire.psi-domain.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Nov 2000, Jamie Heckford 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?? Add the path /usr/local/lib to the ldconfig parameter in /etc/rc.conf. Mike ----------------------------------------------------- Save the whales. Feed the hungry. Free the mallocs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message