Error while loading shared libraries: on Linux

Posted on in Categories , , , , last updated January 21, 2017

I am trying to use wkhtmltopdf command to create and convert html pages to a pdf. However, I am running into errors though as follows when try to use wkhtmltopdf via a shell or Python script:
     Creating foo.pdf …
     ~/bin/wkhtmltox/bin/wkhtmltopdf: error while loading shared libraries: cannot open shared object file: No such file or directory
     Error: foo.pdf not found.

How do I fix this problem with out installing the xserver on my Ubuntu or Debian server?

HowTo: Firefox Disable Default PDF Viewer / Plugin

Posted on in Categories last updated March 7, 2013

I recently updated my Mozilla Firefox. Firefox now includes a built-in PDF viewer that allows me to see PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default. However, I found that this pdf viewer is not working properly with various web-sites, and it works slowly. How do disable the built-in PDF viewer so that I can use the Adobe PDF viewer or other PDF viewer that is shipped with my operating systems?

pdfinfo: Find Out PDF File Information From A UNIX / Linux Shell Prompt

Posted on in Categories , , , , , , , , last updated January 24, 2009

Q. How do I find out more information about Portable Document Format (PDF) document from a shell prompt? How do I find out information such as what software used to create a pdf file, its page size, and its creation date etc, using the terminal?

pdftotext: Linux / UNIX Convert a PDF File To Text Format

Posted on in Categories , , , , , , , , last updated November 19, 2008

Question: I’ve downloaded configuration file in a PDF format. I do not have GUI installed on remote Linux / UNIX server. How do I convert a PDF (Portable Document Format) file to a text format using command line so that I can view file over remote ssh session?