05-11-2011, 09:52 AM | #1 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
Problems installing - command line only
I'm trying to install Calibre on Ubuntu 11.04 server - but I'm getting this error.
Code:
Downloaded 46010044 bytes Checking downloaded file integrity... Extracting files to /opt/calibre ... Extracting application files... /opt/calibre/lib/libicuio.so.46: undefined symbol: __gxx_personality_v0, version CXXABI_1.3 /opt/calibre/lib/libicuio.so.46: undefined symbol: __gxx_personality_v0, version CXXABI_1.3 Traceback (most recent call last): File "site.py", line 56, in main File "site-packages/calibre/linux.py", line 11, in <module> File "site-packages/calibre/customize/ui.py", line 15, in <module> File "site-packages/calibre/customize/builtins.py", line 11, in <module> File "site-packages/calibre/ebooks/metadata/opf2.py", line 14, in <module> ImportError: /opt/calibre/lib/libxml2.so.2: undefined symbol: inflateEnd Run "calibre" to start calibre Thanks T |
05-11-2011, 10:15 AM | #2 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
Oh, I should say, I'm running a 32 bit install and downloading calibre-0.8.0-i686.tar.bz2
Are there any dependencies I need to satisfy? |
05-11-2011, 12:16 PM | #3 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Judging by that error message, I'd say the libstdc++ on your system is too old, though that seems unlikely on a Ubuntu 11.04 install.
|
05-12-2011, 05:42 AM | #4 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
I'm running the very latest version.
Code:
sudo apt-get install libstdc++6 Reading package lists... Done Building dependency tree Reading state information... Done libstdc++6 is already the newest version My Python is Python 2.7.1+ Anything else I need on there to run? This is a headless server without X. Thanks T |
05-12-2011, 06:51 AM | #5 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Not in regard to the above error. However, you will need an X server (even to use the command line tools) in order for calibre to work.
|
05-12-2011, 06:55 AM | #6 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
Ah, so there's no way to run calibre-server on a pure headless environment?
|
05-12-2011, 06:57 AM | #7 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
There's a note to using Calibre on headless boxen in the FAQ.
|
05-12-2011, 12:36 PM | #8 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
Guess I'll have to install X then!
Can I make a feature request for a "server only" variant of Calibre? |
05-12-2011, 12:53 PM | #9 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Look into xvfb beforeyou install X11. It can be used in place of a full blown X install.
There won't be a server version any time soon if ever. Too much relies on Qt. Rasterizing SVG files, PDF output as well as various other bits all use Qt and Qt requires X. |
05-16-2011, 12:01 PM | #10 |
Enthusiast
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
|
Just an update to say I installed xvfb and then all the Calibre dependencies - everything works like a charm now.
Thanks for all your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 09:17 AM |
Problem installing Command line tools | patc890 | Calibre | 7 | 12-12-2010 08:02 AM |
Command Line problems: ebook-convert, ebook-meta with tags: --series, --series-index | omnivorous | Calibre | 4 | 11-07-2010 02:42 PM |
Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 12:17 PM |