10-12-2009, 07:10 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: none
|
Calibre RuntimeError on Ubuntu 8.04 Server
Hi everyone,
I'm new to this forum and Calibre. I tried to use Calibre for converting pdf files to ebook formats. The whole stuff runs on Ubuntu 8.04 Server (headless). I successfully installed and built Python 2.6. After that I installed Calibre. It was of version 0.6.17. When running the converter for the first time I got the following output: alex@server1:~$ ebook-convert TigerFilter.pdf .epub 1% Converting input to HTML... InputFormatPlugin: PDF Input running on /home/alex/TigerFilter.pdf Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 174, in get_file_type_metadata File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 198, in get_metadata File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/pdf.py", line 16, in get_metadata RuntimeError: libltdl.so.7: cannot open shared object file: No such file or directory Parsing all content... Parsing file 'index.html' as HTML Generating default TOC from spine... 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Auto generated TOC with 0 entries. Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating EPUB Output... 67% Creating EPUB Output Looking for large trees in index.html... No large trees found Generating default cover EPUB output written to /home/alex/TigerFilter.epub Output saved to /home/alex/TigerFilter.epub When converting to .mobi I get the following error: alex@server1:~$ ebook-convert TigerFilter.pdf .mobi 1% Converting input to HTML... InputFormatPlugin: PDF Input running on /home/alex/TigerFilter.pdf Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 174, in get_file_type_metadata File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 198, in get_metadata File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/pdf.py", line 16, in get_metadata RuntimeError: libltdl.so.7: cannot open shared object file: No such file or dire ctory Parsing all content... Parsing file 'index.html' as HTML Generating default TOC from spine... 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Auto generated TOC with 0 entries. Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating MOBI Output... 67% Creating MOBI Output Applying case-transforming CSS... : cannot connect to X server With .mobi and .lit I experience the same problems. Can anybody explain me what are the problems and how to fix them? Regards, Alex Last edited by alexbt; 10-12-2009 at 07:26 AM. |
10-12-2009, 11:55 AM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: none
|
X Server problem solved, but RuntimeError remains
I managed to solve X server issue:
sudo apt-get update sudo apt-get -y install build-essential sudo apt-get install xvfb sudo apt-get install xfs xfonts-scalable xfonts-100dpi and then I run ebook-convert like this: xvfb-run --server-args="-screen 0, 1024x768x24" ebook-convert myfile.pdf .mobi But I still receives the same error. Can somebody explain me what to do with it? Regards, Alex |
Advert | |
|
10-12-2009, 01:34 PM | #3 |
creator of calibre
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates that the file /usr/lib/libltdl.so.7 is missing on your computer, probably because of an outdated libtool install.
|
10-13-2009, 04:26 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: none
|
Now it does work!
Thank you for the fast answer.
You were right. I really had no such library. But I had the old one: libltdl.so.3 And I didn't have to upgrade it. By creating a symbolic link I managed to solve the problem: sudo ln -s libltdl.so.3 libltdl.so.7 Now everything works perfectly. Thank you very much for the good work you do. Regards, Alex |
Tags |
calibre, ubuntu 8.04 |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Daemonizing the calibre-server in Ubuntu | gkbeer | Calibre | 10 | 01-20-2013 12:24 PM |
Calibre on ubuntu server | tdw197 | Calibre | 24 | 01-19-2011 07:48 AM |
Calibre crashes X server (Ubuntu 10.10) | mfabry | Calibre | 9 | 10-15-2010 04:12 PM |
Calibre Content Server error in Ubuntu 10.10 | Bodman456 | Calibre | 1 | 07-07-2010 03:26 PM |
Problems installing Version: 0.4.109 on Ubuntu Server 8.10 | machalla | Calibre | 0 | 12-03-2008 09:23 PM |