In <[EMAIL PROTECTED]>, Garrett Cooper <[EMAIL PROTECTED]> typed: > Hello, > This is my first attempt at porting an application, so please bear with > me. > I'm trying to port tvtime from Linux to FreeBSD and it's failing during > the configure stage (claims it can't find -lpng when running a link > test). I know I should probably use the Linux libpng library but I'm > trying to make the application as native as possible with FreeBSD. > Anyhow though, I was wondering what directories I should typically > search when using -L for searching for the png libraries, for instance > (/usr/lib.. ?).
libpng isn't part of the base system, it's in the ports tree in graphics/png. Assuming you've got that installed, then use $LOCALBASE/bin/libpng-config to get the appropriate options. If you're creating a port, add "png.5:${PORTSDIR}/graphics/png" to LIB_DEPENDS. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"