Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 13:03:55 -0600 (CST)
From:      Mike Eldridge <diz@cafes.net>
To:        Jamie Heckford <heckfordj@psi-domain.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting -l paths in gcc
Message-ID:  <Pine.LNX.4.10.10011221300470.29457-100000@mail.cafes.net>
In-Reply-To: <00112218595800.00214@freefire.psi-domain.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10011221300470.29457-100000>