Date: Wed, 22 Nov 2000 18:57:01 +0000 From: Jamie Heckford <heckfordj@psi-domain.co.uk> To: Mike Eldridge <diz@cafes.net> Cc: freebsd-questions@freebsd.org Subject: Re: setting -l paths in gcc Message-ID: <00112218595800.00214@freefire.psi-domain.co.uk> In-Reply-To: <Pine.LNX.4.10.10011221239570.12999-100000@mail.cafes.net> References: <Pine.LNX.4.10.10011221239570.12999-100000@mail.cafes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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?? Thanks, J On Wed, 22 Nov 2000, you wrote: > On Wed, 22 Nov 2000, Jamie Heckford wrote: > > Hi, > > > > If i want to make a custom -l in gcc, for example gcc -lmylib, where is the > > config file i specify this in? > > Your question doesn't exactly make sense, but from your subject, it > appears you are wanting to specify the library path. > > To specify additional library search paths on the command line, use -L: > gcc -L/path/to/libs -o prog prog.c -lmylib > > Mike > > ----------------------------------------------------- > Save the whales. Feed the hungry. Free the mallocs. -- Jamie Heckford Chief Network Engineer Psi-Domain - Innovative Linux Solutions. Ask Us How. =================================== email: heckfordj@psi-domain.co.uk web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7779 646 529 =================================== 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?00112218595800.00214>