Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 11:14:00 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jamie Heckford <heckfordj@psi-domain.co.uk>
Cc:        Mike Eldridge <diz@cafes.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: setting -l paths in gcc
Message-ID:  <20001122111400.N18037@fw.wintelcom.net>
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 %2B0000
References:  <Pine.LNX.4.10.10011221239570.12999-100000@mail.cafes.net> <00112218595800.00214@freefire.psi-domain.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jamie Heckford <heckfordj@psi-domain.co.uk> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001122111400.N18037>