Le 10/11/2012 01:45, Schindler Karl-Michael a écrit :
Example after ./configure --target=osx --enable-png
... gcc -m32 -dynamiclib -dylib_install_name,libgrx20X-2.4.9.dylib -o ../lib/macosx/libgrx20X-2.4.9.dylib draw/bitblt.lo ... Undefined symbols: "_png_set_gray_to_rgb", referenced from: _readpng in png2ctx.lo "_png_set_IHDR", referenced from: _writepng in ctx2png.lo
and many more in png2ctx.lo and ctx2png.lo. As with X11, the library and the library path are needed, depending on the installation of libpng.dylib. Example: -L/usr/local/lib and -lpng
In linux you need to run /sbin/ldconfig as root after installing manually a new software to register shared libraries This is frequently overlooked when installing with a package manager, because it does so automatically. This is indicated in the top level readme file of grx. Does this exists in OS X ? or an equivalent ? If so try with the -v option to see what it does: the directories in which links are registered are indicated. In my system I see that way registering X11, png, tiff, jpeg and grx libraries. For you, it could be also the problem with X11 libraries
Maurice