Quote:
Originally Posted by user_none
Again you have a library conflict. ldd won't show you all libraries because many (such as the Qt ones) are loaded dynamiclly at run time. This is why you need to use the environment variable.
|
There is *zero* version conflict on system. There is only *one* .so file
installed:
root@h1849258:/# find / -name libcalibre-launcher.so
/opt/calibre/lib/libcalibre-launcher.so
So setting LD_LIBRARY_PATH resolved the first problem.
The other problem
root@h1849258:/opt/calibre# bin/ebook-convert /tmp/xx.html /tmp/xx.epub
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 271, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 252, in create_option_parser
File "site-packages/calibre/ebooks/conversion/plumber.py", line 9, in <module>
File "site-packages/calibre/customize/ui.py", line 14, in <module>
File "site-packages/calibre/customize/builtins.py", line 571, in <module>
File "site-packages/calibre/ebooks/pdf/output.py", line 18, in <module>
File "site-packages/calibre/ebooks/pdf/writer.py", line 15, in <module>
File "site-packages/calibre/ebooks/pdf/pageoptions.py", line 6, in <module>
ImportError: cannot import name QPrinter
remains.....what's with that?