libjpeg

Daniel O'Connor doconnor at gsoft.com.au
Thu Jan 5 19:19:06 PST 2006


[redirected to freebsd-questions, a more appropriate place]

On Fri, 6 Jan 2006 12:24, Beech Rintoul wrote:
> I'm trying to compile a program from source that needs libjpeg6b. I have
> searched and can't find it . I have jpeg6b installed. Can someone point me
> to the correct path?

Assuming you installed libjeg from ports (which you really really should have) 
it will be in /usr/local. So you need to add -I/usr/local/include to CFLAGS 
and -L/usr/local/lib to LDFLAGS in a Makefile.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060106/d3738458/attachment.bin


More information about the freebsd-questions mailing list