Forum Bugs

Unable to run Prince on Ubuntu 16.04

jdecker
Hello,

I tried installing Prince on an Ubuntu 16.04 instance in Amazon's AWS using both the install.sh in the tar.gz download as well as using the deb (Version 11.3-1 64bit).

I let it install in the default path, and the install seems to succeed, but when I try to run prince I get a dependency error:

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

Am I doing something wrong? I'm not sure what libcario is or how to install it.

Thanks,
Jeff
mikeday
"sudo apt install libcairo2" should do the trick!
jdecker
Thanks mikeaday, that worked for me.

I did try to install it before but didn't realize it needed the 2 at the end.

After installing libcairo2 I had a few other libs to install. In case anyone else runs into this here they are:

sudo apt install libtiff5
sudo apt-get install libgif7
sudo apt-get install libcurl3
sudo apt-get install libgomp1