Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2011, 09:52 AM   #1
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: 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
Any idea what's causing this? I've got Calibre running on my laptop & desktop. I plan to stick the library on my server and just use calibre-server.

Thanks

T
edent is offline   Reply With Quote
Old 05-11-2011, 10:15 AM   #2
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: 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?
edent is offline   Reply With Quote
Old 05-11-2011, 12:16 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,155
Karma: 5381911
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.
kovidgoyal is offline   Reply With Quote
Old 05-12-2011, 05:42 AM   #4
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: 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
I've also installed build-essential.
My Python is Python 2.7.1+

Anything else I need on there to run? This is a headless server without X.

Thanks

T
edent is offline   Reply With Quote
Old 05-12-2011, 06:51 AM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,460
Karma: 986493
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.
user_none is offline   Reply With Quote
Old 05-12-2011, 06:55 AM   #6
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: Kindle 3G, Nook STR, 511eb
Ah, so there's no way to run calibre-server on a pure headless environment?
edent is offline   Reply With Quote
Old 05-12-2011, 06:57 AM   #7
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
There's a note to using Calibre on headless boxen in the FAQ.
Manichean is offline   Reply With Quote
Old 05-12-2011, 12:36 PM   #8
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: 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?
edent is offline   Reply With Quote
Old 05-12-2011, 12:53 PM   #9
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,460
Karma: 986493
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.
user_none is offline   Reply With Quote
Old 05-16-2011, 12:01 PM   #10
edent
Enthusiast
edent began at the beginning.
 
edent's Avatar
 
Posts: 29
Karma: 20
Join Date: Dec 2009
Location: UK
Device: 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.
edent is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 06:29 PM.


MobileRead.com is a privately owned, operated and funded community.