Forum Bugs

Prince not working on Gentoo / __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.

rcrack2k
Hi!

What can i do to avoid this message:

# wget http://www.princexml.com/download/prince-8.1r5-linux-amd64-static.tar.gz
# tar xzf prince-8.1r5-linux-amd64-static.tar.gz
# cd prince-8.1r5-linux-amd64-static/lib/prince/bin/
# ./prince http://www.google.de/ -o test.pdf
prince: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
Aborted

This error occur also, when installing everything via install.sh and run prince from the new location.

Linux CONserver3 3.1.6-gentoo #1 SMP Fri Jan 27 02:27:39 CET 2012 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux
Gentoo Base System release 2.0.3

Please help.
mikeday
We don't have an official Prince package for Gentoo Linux, but try this package: prince-8.1r5-ubuntu1204-amd64.tar.gz.
rcrack2k
Is there also a static version?

lib/prince/bin/prince: error while loading shared libraries: libgif.so.4: cannot open shared object file: No such file or directory

Edited by rcrack2k

rcrack2k
After installing libgif

prince-8.1r5-ubuntu1204-amd64 # lib/prince/bin/prince
lib/prince/bin/prince: /usr/lib64/libcurl.so.4: no version information available (required by lib/prince/bin/prince)
lib/prince/bin/prince: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by lib/prince/bin/prince)
lib/prince/bin/prince: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by lib/prince/bin/prince)

Edited by rcrack2k

mikeday
No static binary for Ubuntu 12.04 unfortunately; if I recall correctly it no longer ships with static libraries for all packages. If the kernel and libc versions used in Gentoo do not line up with Ubuntu or CentOS, it will be difficult to run Prince on this system. We may be able to build another Prince package, or if you have a virtual machine environment available that is another option. :)