Hi, sorry to reopen this issue, but I'm having the sampe problem now:
libpng warning: Application built with libpng-1.5.18 but running with 1.6.10
I'm compiling 5-34-18 under Mavericks, disabling cocoa because it does horrible things to the layout of my plots, enabling builtin freetype because otherwise it doesn't compile, and disabling fink, whatever that does (I have homebrew).
./configure --enable-roofit --enable-table --enable-opengl --disable-cocoa --enable-builtin-freetype --disable-fink
I have modified the configure script to pick up libpng 1.6.10, but that didn't help:
$ grep -i png configure.log
Checking for png.h ... /usr/local/Cellar/libpng/1.6.10/include
Checking for libpng ... /usr/local/Cellar/libpng/1.6.10/lib
I don't understand where the conflict comes from. I've tried giving it a couple of different libpng's, including the one XQuartz uses, but the error message never changes.
How can I figure out which version is being picked up by root at run time? I tried "otool -L", and "export DYLD_PRINT_LIBRARIES=1", but it doesn't seem to be using libpng at all.