Forum Bugs

CentOS 5.6 - Installing - Shared object issues

oodavid
So I tried installing prince on my CentOS 5.6 dev machine like so:

# Download prince
wget http://www.princexml.com/download/prince-8.0-linux.tar.gz
# Extract
tar xzf prince-*
# Install
cd prince-*
./install.sh
# Test it works OK
prince --help


I then get the following error:

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

A quick check shows I have libtiff.so.3 and not libtiff.so.4... So I took a stab in the dark and made a symlink so libtiff.so.4 points to libtiff.so.3, but now I get the following error:

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

Not sure how to fix these problems, any help would be appreciated :-)
mikeday
How about try installing the CentOS 5.x RPM instead?
oodavid
Ah yes, that would be more logical! Had a couple of issues with fonts (now resolved), here's my process:

So I've cleaned up my first generic attempt and installed a new one with RPM:

# Install via RPM
rpm -iv http://www.princexml.com/download/prince-8.0-1.centos52.i386.rpm
# Test it works OK
/usr/bin/prince http://princexml.com/ prince.pdf


This throws an error prince: warning: no glyphs for character U+0050, fallback to '?'
prince: internal error: no available fonts


Checking the forums I know to check my fonts:

# How many fonts do I have?
fc-list | wc -l
    # Shows 53
# Do I have times new roman?
fc-list | grep -i times
    # Nothing returned


So I hunted around for a microsoft fonts package and found this (no warranty of it's contents etc etc etc)

# Install the fonts
rpm -iv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/gwayne/CentOS_5/noarch/webcore-fonts-3.0-2.1.noarch.rpm
# Test it works OK
/usr/bin/prince http://princexml.com/ prince.pdf


Badabing, working fine :-)