Forum Bugs

FAILED to INSTALL PRINCE in CENTOS

deb_butan
Hi,

My Linux machine details are as below :

Linux i686 athlon i386 GNU/Linux

I am tried to install below rpm
prince-8.0-1.centos52.i386.rpm

command I used to install the rpm : rpm2cpio prince-8.0-1.centos52.i386.rpm | cpio -idmv
But unfortunately when I am just trying to execute the prince its failing with below error :
execute command : prince contact.html -o contact.pdf

ERROR :
/usr/local/lib/prince/bin/prince: /usr/lib/libcurl.so.4: no version information available (required by /usr/local/lib/prince/bin/prince)

Can you guys please guide me what to do here ?
mikeday
Which Linux distribution are you running? What do you get when you run this:
cat /etc/redhat-release
deb_butan
cat /etc/redhat-release

result is :
CentOS release 5.5 (Final)
mikeday
Does anything show up if you run "rpm -qa | grep curl"? If not, you will need to install curl.
deb_butan
Executed command : rpm -qa | grep curl

Result :
curl-devel-7.15.5-9.el5
curl-7.15.5-9.el5
deb_butan
Command executed : rpm -ivh prince-8.0-1.centos52.i386.rpm

RESULT :
Preparing... ########################################### [100%]
package prince-8.0-1.i386 is already installed


Command Executed : rpm -qa | grep prince
RESULT : prince-8.0-1


Command Executed : prince --help
RESULT :
/usr/local/lib/prince/bin/prince: /usr/lib/libcurl.so.4: no version information available (required by /usr/local/lib/prince/bin/prince)
/usr/local/lib/prince/bin/prince: /lib/libc.so.6: version `GLIBC_2.11' not found (required by /usr/local/lib/prince/bin/prince)
/usr/local/lib/prince/bin/prince: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /usr/local/lib/prince/bin/prince)


Now can you guys please help me regarding this issue :
deb_butan
Command Executed : /usr/bin/prince prince.html prince.pdf

prince.html : <html><body><h1>Hello, world!</h1></body></html>

RESULT :
prince: warning: no glyphs for character U+0048, fallback to '?'
prince: internal error: no available fonts
deb_butan
Hi Mike, can you please reply little faster.

Edited by deb_butan

mikeday
To fix the "no available fonts" message you need to install some fonts, ideally the msttcorefonts package or the DejaVu fonts. I'm still not sure what is causing the libcurl error.
deb_butan
Hi Mike,

Thanks for your support. Finally the PRINCE is working fine for me.
jacobfogg
For me, this worked on centos just fine:

yum install deja*

I post this as much for my future reference as well as others having problems with centos reporting:

prince: internal error: no available fonts