View Single Post
Old 07-09-2009, 05:59 AM   #424
Syniurge
Enthusiast
Syniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a TexanSyniurge might easily be mistaken for a Texan
 
Posts: 47
Karma: 18498
Join Date: Jul 2009
Location: France
Device: PRS-650
Hi Kovid,

Thanks a lot for calibre!

I've been trying 0.6b11 on Kubuntu 9.04 amd64 (without installing over an older version) but it complained:
Quote:
$ sudo calibre_postinstall
Traceback (most recent call last):
File "/tmp/init.py", line 43, in <module>
File "/home/kovid/work/calibre/src/calibre/linux.py", line 8, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/ui.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/builtins.py", line 318, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/epub/input.py", line 9, in <module>
File "ExtensionLoader_lxml_etree.py", line 12, in <module>
ImportError: /opt/calibre/libexslt.so.0: symbol gcry_cipher_setkey, version GCRYPT_1.2 not defined in file libgcrypt.so.11 with link time reference
So I linked libexslt.so.0 from /usr/lib to /opt/calibre but then it complained about libphonon.so.4:

Quote:
$ ebook-viewer
Traceback (most recent call last):
File "/tmp/init.py", line 43, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/__init__.py", line 16, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/ui.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/builtins.py", line 339, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/pdf/output.py", line 18, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/pdf/writer.py", line 22, in <module>
File "ExtensionLoader_PyQt4_QtWebKit.py", line 12, in <module>
ImportError: libphonon.so.4: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
And this time linking the libphonon.so.4 from /usr/lib doesn't work:

Quote:
$ ebook-viewer
Traceback (most recent call last):
File "/tmp/init.py", line 43, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/__init__.py", line 16, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/ui.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/builtins.py", line 339, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/pdf/output.py", line 18, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/pdf/writer.py", line 22, in <module>
File "ExtensionLoader_PyQt4_QtWebKit.py", line 12, in <module>
ImportError: libphonon.so.4: mauvaise classe ELF: ELFCLASS64
I've also tried to install calibre from bzr but the Qt libs shipped in Ubuntu are too old (Qt 4.5.0) and ebook-viewer doesn't work: http://calibre.kovidgoyal.net/ticket/2700

What would you suggest to get it working ?
Syniurge is offline