![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: Amazon Kindle 3G
|
Missing libraries in calibre binary release for Linux
Hi,
while trying to setup a headless calibre install, I noticed that the binary install from http://calibre-ebook.com/download_linux is not really self contained: there are a number of missing libraries (identified using ldd), that prevent it to work on console-only systems, or on systems with a minimal X install. The missing libraries (checked against 0.8.16) are: Code:
libcairo.so.2 libcroco-0.6.so.3 libdbus-glib-1.so.2 libgdk_pixbuf-2.0.so.0 libgsf-1.so.114 libICE.so.6 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libpixman-1.so.0 libQtDesigner.so.4 libQtOpenGL.so.4 libQtScript.so.4 libQtScriptTools.so.4 libQtTest.so.4 libQtXmlPatterns.so.4 librsvg-2.so.2 libSM.so.6 libwmf-0.2.so.7 libXext.so.6 libXrandr.so.2 libXrender.so.1 libXt.so.6 Thanks for your help! Davide |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,263
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Most of the libraries you list are not needed. You do need X installed.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: Amazon Kindle 3G
|
I've looked a bit more into this: if we ignore the basic X libraries (libXext, libXt, libSM, libICE, libXrandr, libXrender), the remaining missing depends boil down to:
Code:
./lib/ImageMagick-6.6.7/modules-Q16/coders/svg.so librsvg-2.so.2 => not found libgsf-1.so.114 => not found libcroco-0.6.so.3 => not found libpangocairo-1.0.so.0 => not found libpangoft2-1.0.so.0 => not found libpango-1.0.so.0 => not found libgdk_pixbuf-2.0.so.0 => not found libcairo.so.2 => not found libpixman-1.so.0 => not found ./lib/ImageMagick-6.6.7/modules-Q16/coders/wmf.so libwmf-0.2.so.7 => not found ./lib/python2.7/site-packages/_dbus_glib_bindings.so libdbus-glib-1.so.2 => not found ./lib/python2.7/site-packages/PyQt4/QtDesigner.so libQtDesigner.so.4 => not found ./lib/python2.7/site-packages/PyQt4/QtScript.so libQtScript.so.4 => not found ./lib/python2.7/site-packages/PyQt4/QtScriptTools.so libQtScriptTools.so.4 => not found ./lib/python2.7/site-packages/PyQt4/QtTest.so libQtTest.so.4 => not found ./lib/python2.7/site-packages/PyQt4/QtXmlPatterns.so libQtXmlPatterns.so.4 => not found ./lib/qt_plugins/graphicssystems/libqglgraphicssystem.so libQtOpenGL.so.4 => not found Davide Last edited by davide125; 09-02-2011 at 05:09 AM. |
![]() |
![]() |
![]() |
#4 |
Banned
![]() Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
|
It maybe that the lib's CAN access these others, but there use in Calibre is such that they are not required. Have you tried installing it rather than checking for missing libs's? It may work.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: Amazon Kindle 3G
|
hairybiker, I did. After installing libXext, libXt, libICE, libSM, libXrandr and libXrender using my distro package manager, the 'calibre-server' and 'ebook-conver' binaries at least start without library errors. Trying ebook-convert against a random recipe seems to work, except for the message:
"SVG rasterizer unavailable, SVG will not be converted" which is probably due to the missing libraries used by ImageMagick SVG coder. I haven't checked the actual output yet, and I still have to try calibre-server. Davide |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
ImageMagick is not used for SVG rasterization. That's why it's unnecessary to bundle it. SVG is handled by Qt. You're getting that message because you're not running ebook-convert under X. Many parts of calibre including the command line tools must be run in an X session. However, you don't need to run a full X session. You can use Xvfb and run the command in that so you never see an X desktop.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Portable and Libraries | atjnjk | Related Tools | 13 | 12-15-2010 06:16 AM |
Calibre Binary Install Upgrade Failed Today | ksburgess | Calibre | 8 | 03-12-2010 07:35 AM |
Calibre binary for Debian Lenny x64 | Megatron-UK | Calibre | 1 | 01-30-2010 12:56 PM |
Binary Install of calibre | Glenendale | Calibre | 1 | 11-10-2008 12:58 PM |
Either a userbug or a problem with the generic Linux binary installer. | Ingrid | Calibre | 11 | 07-16-2008 03:26 AM |