View Single Post
Old 05-07-2011, 09:22 PM   #181
MykelAlvis
Member
MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.
 
Posts: 12
Karma: 1748
Join Date: Aug 2009
Location: Birmingham, AL
Device: Nook
Even more interesting stuff:
My results above were in KDE, admittedly not the primary desktop environment for Fedora. So I switched over to a GNOME Desktop and I got the following
Code:
[mykel@ramses ~]$ calibre-debug -e test.py 
gnome-open: /opt/calibre/lib/libz.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
[mykel@ramses ~]$ Couldn't load XPCOM.
This produced no browser, as expected.

Code:
[mykel@ramses ~]$ calibre-debug -e test2.py 
[mykel@ramses ~]$
This produced a browser, as expected.

From the code above, we can expect that since it can't find libz in calibre, maybe it should find it in the filesystem?
Code:
mykel@ramses ~]$ sudo yum whatprovides /lib64/libz.so.1
Loaded plugins: langpacks, refresh-packagekit
Adding en_US to language list
zlib-1.2.5-2.fc14.x86_64 : The zlib compression and decompression library
Repo        : fedora
Matched from:
Filename    : /lib64/libz.so.1



zlib-1.2.5-2.fc14.x86_64 : The zlib compression and decompression library
Repo        : installed
Matched from:
Other       : Provides-match: /lib64/libz.so.1
[mykel@ramses ~]$ ll /lib64/libz.so.1
lrwxrwxrwx. 1 root root 13 Jan 24 02:31 /lib64/libz.so.1 -> libz.so.1.2.5
[mykel@ramses ~]$ ll /lib64/libz.so.1.2.5
-rwxr-xr-x. 1 root root 95872 Jun 17  2010 /lib64/libz.so.1.2.5
[mykel@ramses ~]$
As you can see, the package that provides libz is installed and the file is available, at least to the operating system. Why KDE didn't state the issue on the command line is a mystery to me, but so many things about KDE are.

I have some experience with Python, but essentially none with Calibre's custom-built system so I'm afraid I would need help debugging this any further.
MykelAlvis is offline   Reply With Quote