Forum How do I...?

Library versions required for price on sparc

amlesz
Hello,

We are attempting to generate a pdf from a HTML containing PNG images on a SunOS 5.10 sun4u box.

When prince is run on the html file a symbol not found error is returned:
ld.so.1: prince: fatal: relocation error: file /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/lib/prince/bin/prince: symbol png_create_read_struct: referenced symbol not found

an ldd on the prince.exe yeilds
libz.so.1 => /usr/lib/libz.so.1
libpng.so.3 => /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/bin/../c-libs/libpng.so.3
libtiff.so.3 => /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/bin/../c-libs/libtiff.so.3
libjpeg.so.62 => /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/bin/../c-libs/libjpeg.so.62
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/sfw/lib/libcrypto.so.0.9.7
libdl.so.1 => /usr/lib/libdl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libfontconfig.so.1 => /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/bin/../c-libs/libfontconfig.so.1
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libm.so.2 => /usr/lib/libm.so.2
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libfreetype.so.6 => /vfiler/wp_tibco/builds/event-processor-21.0.6-test/vendor/tools/prince-6.0/SunOS5.10sun4u/bin/../c-libs/libfreetype.so.6
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libssl_extra.so.0.9.7 => /usr/sfw/lib/libssl_extra.so.0.9.7
libcrypto_extra.so.0.9.7 => /usr/sfw/lib/libcrypto_extra.so.0.9.7
/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-V490/lib/libmd_psr.so.1


We would like to know the dependency versions required on sparc to get prince running successfully.

Thankyou
mikeday
The libpng package available on sunfreeware.com is what we've used for building and testing, so I would recommend packages from that site.
amlesz
The problem was with the libpng binary we downloaded from sunfreeware.com. It seems to be broken. We had to build from the sources and it worked fine.