Forum Bugs

RHEL6 Prince Installation

rameshsahoo11
HI All,

There is no prince8.1 rpm or archive installer for RHEL6 64 bit, however I managed to install this on centos6_x86_64 and RHEL6_x86_64 using the following steps.

Step 1 >>>
1. Download the RPM package from prince website using the following command.
# wget http://www.princexml.com/download/prince-8.0-1.centos55.x86_64.rpm
2. Extract the rpm archive using the following cmd.
# rpm2cpio prince-8.0-1.centos55.x86_64.rpm | cpio -idmv
Once it finished the extraction, you will get an usr directory in your PWD directory. Go to the ./usr/lib/prince/bin directory and fire the following command to check if it can be used.
# ../prince
you will get the folowing output...
./prince: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory

if you check the libcurl library in lib directory it wil be already libcurl.so.4 the higher version there and prince8 does not accept that.

Hack >>>>

make a softlink of that higher library to the expected library name of libcurl and copy the ./usr/lib/prince /usr/lib/prince directory and ./usr/bin/prince /usr/bin/ directory.

You also have to follow the following steps.

ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6
ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6
ln -s /usr/lib64/libexpat.so /usr/lib64/libexpat.so.0

You will see prince will work with all functionality.

Regards,

Ramesh S.
India.
mikeday
Nice workaround! The next release of Prince will include RPMs for 32-bit and 64-bit CentOS/RHEL 6.