pix-png does not work on Irix 64bit. It does work on Irix 32bit amd
opteron (64bit)
pngtest under Irix 64bit passes
pix-png dies with errror message:
6112451:/usr/brlcad7.2/mips64/bin/pix-png: rld: Fatal Error:
attempted access to unresolvable symbol in /usr/brlcad7.2/mips64/
lib/libpng.so.2: crc32
Logged In: YES
user_id=1179270
This is a libtool link error. The "pngtest" in the libtool directory is properly
linked. The compilation for pix-png erroneously presents -lz before -lpng.
In fact the link line complains that:
ld64: WARNING 84 : /usr/lib64/libz.a is not used for resolving any symbol.
There was nothing in configure.ac which indicates that libpng is dependent
upon libz. I added the line: unsigned long l = crc32(0,0,0) to the libpng
test.
I added the following line:
libpng_la_LIBADD=${LIBZ}
to libpng/Makefile.am to cause a link with libpng to append the -lz
afterwards to get the libraries linked in the right order.
This is now fixed in CVS