Forum How do I...?

Prince PDF 64 Bit for Ubuntu

stavarotti
Is there 64 bit version of the latest Prince 7 beta for Ubuntu, preferably Prince 7.018?

Thanks.
mikeday
No, we don't have any 64-bit builds at this time. Are you able to run the 32-bit version?
stavarotti
I am not sure, I guess I can try it. Do you have any plans of making a 64 bit version, either version 6 or 7? Also have you tried running a 32 bit in the 64 bit environment and if so what are the requisite libraries?

Thanks!
mikeday
The 32-bit binary is statically linked, which should help; try running it and if there are any problems we should be able to work something out. We do plan to build 64-bit binaries in the future, but we haven't got a 64-bit build environment setup at this time.
stavarotti
Thanks for your help mikeday. However, could you explain the ordeal behind being statically linked? What are the advantages/disadvantages of being statically linked? Thanks again!
mikeday
It means that it doesn't depend on any shared libraries. I think this will help, but if not, we can provide a dynamically linked build instead.
ivanvanderbyl
Hi,

I really need a 64 bit version, we don't have any option except to run a 64bit server due to other dependencies.

Whats the status on this? when do you plan to release a 64bit build? Ubuntu 9?
mikeday
Lately people have had success running 32-bit builds of Prince after installing the ia32-libs package on their 64-bit Ubuntu servers. Are you able to install this package on your servers?
Kelsin
mikeday wrote:
Lately people have had success running 32-bit builds of Prince after installing the ia32-libs package on their 64-bit Ubuntu servers. Are you able to install this package on your servers?


We just had to do this. We're running ubuntu feisty amd64 (I know it's old).

First I had to install the package and force it due to the architecture change:

wget http://www.princexml.com/download/prince_7.0b1-1_i386.deb
sudo dpkg -i --force-architecture prince_7.0b1-1_i386.deb


Then I tried running the wikipedia test and got a weird error:

prince --no-author-style -s http://www.princexml.com/howcome/2008/wikipedia/wiki2.css http://en.wikipedia.org/wiki/Cornflower_blue -o cornflower.pdf
prince: http://en.wikipedia.org/wiki/Cornflower_blue: error: Couldn't resolve host 'en.wikipedia.org'
prince: http://en.wikipedia.org/wiki/Cornflower_blue: error: could not load input file
prince: error: no input documents to process


Then I found this forum post and installed the package that was recommended:

sudo aptitude install ia32-libs


And now prince works great!

Thanks for your help :)