[Gimp-developer] OS X GIMP configure can't find JPEG library

M Gagnon auria.mg at gmail.com
Wed Apr 1 06:17:38 PDT 2009


Indeed, I pointed out PKG_CONFIG_PATH for other dependencies -- libjpeg 
doesn't use pkg-config.

LD_LIBRARY_PATH=/opt/local/bin


First of all, this environment variable is Linux-specific =) The mac 
equivalent would be DYLD_LIBRARY_PATH
See 
http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man1/dyld.1.html

PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/lib


PATH is for executables; so it's quite unlikely you will have 
executables in /opt/local/lib.
/opt/local/bin makes much more sense

So setting DYLD_LIBRARY_PATH should help; otherwise, check 
config.log/configure.log (not sure about the
name) to see precisely what's happening. Then you can pass additional 
flags to gcc using e.g. CFLAGS="..."

-- Auria


More information about the Gimp-developer mailing list