01-31-2009, 03:47 PM | #1 |
Member
Posts: 17
Karma: 10
Join Date: Nov 2007
Device: sony prs500
|
Tried to install calibre to fedora 10 64 failed
Hi, l I tried to install calibre on fedora 10
System: Fedora Release 10 (Cambridge) Kernel Linux 2.6.27.9-159.fc10x86_64 GNOME 2.24.2 [root@localhost d]# python --version Python 2.5.2 I tried to install via binary instruction from here http://calibre.kovidgoyal.net/download_binary [root@localhost d]# sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" Enter the installation directory for calibre (Its contents will be deleted!)[/opt/calibre]: Downloading calibre... 100% [================================================== ====================] Extracting files to /opt/calibre ... Extracting application files... Creating symlinks... Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 495, in binary_install OSError: [Errno 17] File exists /opt/calibre/calibre_postinstall: line 7: 4479 Segmentation fault $loader "$@" [root@localhost d]# I had an earlier version I was installing over. I don't know what happened ? I input this [root@localhost d]# calibre bash: calibre: command not found [root@localhost d]# What happened? Any help would be useful David FYI I went /opt/calibre directory typed this [root@localhost calibre]# ls -l total 78340 -rwxr-xr-x 1 root users 163 1969-12-31 19:00 any2epub -rwxr-xr-x 1 root users 162 1969-12-31 19:00 any2lit -rwxr-xr-x 1 root users 162 1969-12-31 19:00 any2lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 any2mobi -rw-r--r-- 1 root users 32168 1969-12-31 19:00 array.so -rw-r--r-- 1 root users 19308 1969-12-31 19:00 binascii.so -rw-r--r-- 1 root users 11356 1969-12-31 19:00 _bisect.so -rw-r--r-- 1 root users 32288 1969-12-31 19:00 bz2.so -rw-r--r-- 1 root users 27592 1969-12-31 19:00 bzrlib._btree_serializer_c.so -rw-r--r-- 1 root users 10200 1969-12-31 19:00 bzrlib._chunks_to_lines_pyx.so -rw-r--r-- 1 root users 16312 1969-12-31 19:00 bzrlib._patiencediff_c.so -rw-r--r-- 1 root users 31816 1969-12-31 19:00 bzrlib._readdir_pyx.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 calibre -rwxr-xr-x 1 root users 172 1969-12-31 19:00 calibre-customize -rwxr-xr-x 1 root users 164 1969-12-31 19:00 calibredb -rwxr-xr-x 1 root users 168 1969-12-31 19:00 calibre-debug -rwxr-xr-x 1 root users 173 1969-12-31 19:00 calibre-fontconfig -rwxr-xr-x 1 root users 171 1969-12-31 19:00 calibre-parallel -rwxr-xr-x 1 root users 174 1969-12-31 19:00 calibre_postinstall -rwxr-xr-x 1 root users 169 1969-12-31 19:00 calibre-server -rw-r--r-- 1 root users 128368 1969-12-31 19:00 _codecs_cn.so -rw-r--r-- 1 root users 140656 1969-12-31 19:00 _codecs_hk.so -rw-r--r-- 1 root users 17784 1969-12-31 19:00 _codecs_iso2022.so -rw-r--r-- 1 root users 222576 1969-12-31 19:00 _codecs_jp.so -rw-r--r-- 1 root users 120176 1969-12-31 19:00 _codecs_kr.so -rw-r--r-- 1 root users 95600 1969-12-31 19:00 _codecs_tw.so -rw-r--r-- 1 root users 20928 1969-12-31 19:00 _collections.so -rwxr-xr-x 1 root users 165 1969-12-31 19:00 comic2epub -rwxr-xr-x 1 root users 164 1969-12-31 19:00 comic2lrf -rwxr-xr-x 1 root users 165 1969-12-31 19:00 comic2mobi -rwxr-xr-x 1 root users 164 1969-12-31 19:00 comic2pdf -rw-r--r-- 1 root users 64564 1969-12-31 19:00 cPickle.so -rw-r--r-- 1 root users 30712 1969-12-31 19:00 Crypto.Cipher.AES.so -rw-r--r-- 1 root users 14296 1969-12-31 19:00 Crypto.Cipher.ARC2.so -rw-r--r-- 1 root users 22524 1969-12-31 19:00 Crypto.Cipher.Blowfish.so -rw-r--r-- 1 root users 26584 1969-12-31 19:00 Crypto.Cipher.CAST.so -rw-r--r-- 1 root users 22488 1969-12-31 19:00 Crypto.Cipher.DES3.so -rw-r--r-- 1 root users 14296 1969-12-31 19:00 Crypto.Cipher.IDEA.so -rw-r--r-- 1 root users 18424 1969-12-31 19:00 Crypto.Cipher.RC5.so -rw-r--r-- 1 root users 16768 1969-12-31 19:00 cStringIO.so -rw-r--r-- 1 root users 24028 1969-12-31 19:00 _csv.so -rw-r--r-- 1 root users 100080 1969-12-31 19:00 _ctypes.so -rw-r--r-- 1 root users 61964 1969-12-31 19:00 _curses.so -rw-r--r-- 1 root users 63744 1969-12-31 19:00 datetime.so -rw-r--r-- 1 root users 127000 1969-12-31 19:00 _dbus_bindings.so -rwxr-xr-x 1 root users 167 1969-12-31 19:00 ebook-viewer -rw-r--r-- 1 root users 31464 1969-12-31 19:00 _elementtree.so -rwxr-xr-x 1 root users 163 1969-12-31 19:00 epub2lrf -rwxr-xr-x 1 root users 164 1969-12-31 19:00 epub-meta -rwxr-xr-x 1 root users 162 1969-12-31 19:00 fb22lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 fb2-meta -rw-r--r-- 1 root users 13192 1969-12-31 19:00 fcntl.so -rwxr-xr-x 1 root users 165 1969-12-31 19:00 feeds2disk -rwxr-xr-x 1 root users 165 1969-12-31 19:00 feeds2epub -rwxr-xr-x 1 root users 164 1969-12-31 19:00 feeds2lrf -rwxr-xr-x 1 root users 165 1969-12-31 19:00 feeds2mobi -rw-r--r-- 1 root users 10564 1969-12-31 19:00 _functools.so -rw-r--r-- 1 root users 10432 1969-12-31 19:00 grp.so -rw-r--r-- 1 root users 1940756 1969-12-31 19:00 gtk._gtk.so -rw-r--r-- 1 root users 11116 1969-12-31 19:00 _hashlib.so -rw-r--r-- 1 root users 16696 1969-12-31 19:00 _heapq.so -rw-r--r-- 1 root users 20984 1969-12-31 19:00 _hotshot.so -rwxr-xr-x 1 root users 164 1969-12-31 19:00 html2epub -rwxr-xr-x 1 root users 163 1969-12-31 19:00 html2lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 html2oeb -rw-r--r-- 1 root users 14684 1969-12-31 19:00 _imagingft.so -rw-r--r-- 1 root users 215592 1969-12-31 19:00 _imaging.so -rwxr-xr-x 1 root users 163 1969-12-31 19:00 imp-meta -rwxr-xr-x 1 root users 161 1969-12-31 19:00 isbndb -rw-r--r-- 1 root users 36720 1969-12-31 19:00 itertools.so -rwxr-xr-x 1 root users 66472 1969-12-31 19:00 libbz2.so.1 -rwxr-xr-x 1 root users 67872 1969-12-31 19:00 libexslt.so.0 -rwxr-xr-x 1 root users 2082680 1969-12-31 19:00 libMagickCore.so -rwxr-xr-x 1 root users 1089580 1969-12-31 19:00 libMagickWand.so -rwxr-xr-x 1 root users 387100 1969-12-31 19:00 libmng.so.1 -rwxr-xr-x 1 root users 1841672 1969-12-31 19:00 libpoppler.so.4 -rw-r--r-- 1 root users 1315360 1969-12-31 19:00 libpython2.6.so.1.0 -rwxr-xr-x 1 root users 2187204 1969-12-31 19:00 libQtCore.so.4 -rwxr-xr-x 1 root users 9011060 1969-12-31 19:00 libQtGui.so.4 -rwxr-xr-x 1 root users 1004976 1969-12-31 19:00 libQtNetwork.so.4 -rwxr-xr-x 1 root users 306564 1969-12-31 19:00 libQtSvg.so.4 -rwxr-xr-x 1 root users 9077840 1969-12-31 19:00 libQtWebKit.so.4 -rwxr-xr-x 1 root users 260136 1969-12-31 19:00 libQtXml.so.4 -rwxr-xr-x 1 root users 167 1969-12-31 19:00 librarything -rwxr-xr-x 1 root users 422048 1969-12-31 19:00 libsqlite3.so.0 -rwxr-xr-x 1 root users 241586 1969-12-31 19:00 libunrar.so -rwxr-xr-x 1 root users 1225324 1969-12-31 19:00 libxml2.so.2 -rwxr-xr-x 1 root users 200192 1969-12-31 19:00 libxslt.so.1 -rwxr-xr-x 1 root users 69252 1969-12-31 19:00 libz.so.1 -rwxr-xr-x 1 root users 162 1969-12-31 19:00 lit2lrf -rwxr-xr-x 1 root users 162 1969-12-31 19:00 lit2oeb -rwxr-xr-x 1 root users 163 1969-12-31 19:00 lit-meta -rwxr-xr-x 1 root users 1232288 1969-12-31 19:00 loader -rw-r--r-- 1 root users 26654951 1969-12-31 19:00 loader.zip -rw-r--r-- 1 root users 14992 1969-12-31 19:00 _locale.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 lrf2lrs -rwxr-xr-x 1 root users 163 1969-12-31 19:00 lrf-meta -rwxr-xr-x 1 root users 164 1969-12-31 19:00 lrfviewer -rwxr-xr-x 1 root users 162 1969-12-31 19:00 lrs2lrf -rw-r--r-- 1 root users 15792 1969-12-31 19:00 _lsprof.so -rw-r--r-- 1 root users 1136556 1969-12-31 19:00 lxml.etree.so -rw-r--r-- 1 root users 548 1969-12-31 19:00 manifest -rwxr-xr-x 1 root users 171 1969-12-31 19:00 markdown-calibre -rw-r--r-- 1 root users 21464 1969-12-31 19:00 math.so -rw-r--r-- 1 root users 11644 1969-12-31 19:00 _md5.so -rw-r--r-- 1 root users 19496 1969-12-31 19:00 mmap.so -rwxr-xr-x 1 root users 163 1969-12-31 19:00 mobi2lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 mobi2oeb -rwxr-xr-x 1 root users 164 1969-12-31 19:00 mobi-meta -rw-r--r-- 1 root users 24500 1969-12-31 19:00 _multibytecodec.so -rw-r--r-- 1 root users 22812 1969-12-31 19:00 numpy.core._dotblas.so -rw-r--r-- 1 root users 399848 1969-12-31 19:00 numpy.core.multiarray.so -rw-r--r-- 1 root users 114640 1969-12-31 19:00 numpy.core.scalarmath.so -rw-r--r-- 1 root users 75000 1969-12-31 19:00 numpy.core._sort.so -rw-r--r-- 1 root users 210360 1969-12-31 19:00 numpy.core.umath.so -rw-r--r-- 1 root users 42416 1969-12-31 19:00 numpy.fft.fftpack_lite.so -rw-r--r-- 1 root users 19276 1969-12-31 19:00 numpy.lib._compiled_base.so -rw-r--r-- 1 root users 22192 1969-12-31 19:00 numpy.linalg.lapack_lite.so -rw-r--r-- 1 root users 265072 1969-12-31 19:00 numpy.random.mtrand.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 odt2oeb -rwxr-xr-x 1 root users 163 1969-12-31 19:00 odt-meta -rwxr-xr-x 1 root users 162 1969-12-31 19:00 oeb2lit -rwxr-xr-x 1 root users 163 1969-12-31 19:00 oeb2mobi -rw-r--r-- 1 root users 61688 1969-12-31 19:00 OpenSSL.crypto.so -rw-r--r-- 1 root users 11736 1969-12-31 19:00 OpenSSL.rand.so -rw-r--r-- 1 root users 45128 1969-12-31 19:00 OpenSSL.SSL.so -rw-r--r-- 1 root users 29856 1969-12-31 19:00 operator.so -rwxr-xr-x 1 root users 163 1969-12-31 19:00 opf-meta -rw-r--r-- 1 root users 39288 1969-12-31 19:00 parser.so ---------- 1 root root 22 1969-12-31 19:00 @PaxHeader -rwxr-xr-x 1 root users 162 1969-12-31 19:00 pdf2lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 pdf-meta -rwxr-xr-x 1 root users 164 1969-12-31 19:00 pdfreflow -rwxr-xr-x 1 root users 63612 1969-12-31 19:00 pdftohtml -rwxr-xr-x 1 root users 162 1969-12-31 19:00 pdftrim -rw-r--r-- 1 root users 14684 1969-12-31 19:00 PIL._imagingft.so -rw-r--r-- 1 root users 215592 1969-12-31 19:00 PIL._imaging.so drwxr-xr-x 2 root root 4096 2009-01-31 15:45 plugins -rwxr-xr-x 1 root users 161 1969-12-31 19:00 prs500 -rw-r--r-- 1 root users 41936 1969-12-31 19:00 pyexpat.so -rw-r--r-- 1 root users 2152032 1969-12-31 19:00 PyQt4.Qsci.so -rw-r--r-- 1 root users 1691424 1969-12-31 19:00 PyQt4.QtCore.so -rw-r--r-- 1 root users 7294928 1969-12-31 19:00 PyQt4.QtGui.so -rw-r--r-- 1 root users 463360 1969-12-31 19:00 PyQt4.QtNetwork.so -rw-r--r-- 1 root users 151328 1969-12-31 19:00 PyQt4.QtOpenGL.so -rw-r--r-- 1 root users 151380 1969-12-31 19:00 PyQt4.QtScript.so -rw-r--r-- 1 root users 5484 1969-12-31 19:00 PyQt4.Qt.so -rw-r--r-- 1 root users 296568 1969-12-31 19:00 PyQt4.QtSql.so -rw-r--r-- 1 root users 109248 1969-12-31 19:00 PyQt4.QtSvg.so -rw-r--r-- 1 root users 23100 1969-12-31 19:00 PyQt4.QtTest.so -rw-r--r-- 1 root users 192672 1969-12-31 19:00 PyQt4.QtWebKit.so -rw-r--r-- 1 root users 260052 1969-12-31 19:00 PyQt4.QtXml.so drwxr-xr-x 5 root root 4096 2009-01-31 15:45 qtplugins -rw-r--r-- 1 root users 10060 1969-12-31 19:00 _random.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 rb-meta -rw-r--r-- 1 root users 21532 1969-12-31 19:00 readline.so -rw-r--r-- 1 root users 10052 1969-12-31 19:00 resource.so -rw-r--r-- 1 root users 39672 1969-12-31 19:00 _rl_accel.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 rtf2lrf -rwxr-xr-x 1 root users 163 1969-12-31 19:00 rtf-meta -rw-r--r-- 1 root users 22300 1969-12-31 19:00 select.so -rw-r--r-- 1 root users 18784 1969-12-31 19:00 sgmlop.so -rw-r--r-- 1 root users 18872 1969-12-31 19:00 _sha256.so -rw-r--r-- 1 root users 55736 1969-12-31 19:00 _sha512.so -rw-r--r-- 1 root users 10396 1969-12-31 19:00 _sha.so -rw-r--r-- 1 root users 64632 1969-12-31 19:00 sip.so -rw-r--r-- 1 root users 53920 1969-12-31 19:00 _socket.so -rw-r--r-- 1 root users 63316 1969-12-31 19:00 _sqlite3.so -rw-r--r-- 1 root users 28536 1969-12-31 19:00 _ssl.so -rw-r--r-- 1 root users 22200 1969-12-31 19:00 strop.so -rw-r--r-- 1 root users 26548 1969-12-31 19:00 _struct.so -rw-r--r-- 1 root users 17804 1969-12-31 19:00 termios.so -rw-r--r-- 1 root users 18536 1969-12-31 19:00 time.so -rwxr-xr-x 1 root users 162 1969-12-31 19:00 txt2lrf -rw-r--r-- 1 root users 585976 1969-12-31 19:00 unicodedata.so -rw-r--r-- 1 root users 5852 1969-12-31 19:00 _weakref.so -rwxr-xr-x 1 root users 163 1969-12-31 19:00 web2disk -rwxr-xr-x 1 root users 162 1969-12-31 19:00 web2lrf -rw-r--r-- 1 root users 21464 1969-12-31 19:00 zlib.so [root@localhost calibre]# |
01-31-2009, 03:50 PM | #2 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a weird error. Delete the /opt/calibre directory and retry
|
Advert | |
|
01-31-2009, 04:07 PM | #3 |
Member
Posts: 17
Karma: 10
Join Date: Nov 2007
Device: sony prs500
|
well
deleted calibre tried to reinstall results are as followed: [root@localhost /]# sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" Enter the installation directory for calibre (Its contents will be deleted!)[/opt/calibre]: Downloading calibre... 100% [================================================== ================================================== ==============================] Extracting files to /opt/calibre ... Extracting application files... Creating symlinks... Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 495, in binary_install OSError: [Errno 17] File exists /opt/calibre/calibre_postinstall: line 7: 5071 Segmentation fault $loader "$@" only difference is failure is: 4479 Segementation fault verse 5071 Segementation fault. I don't know what that means? It probably has something to do with fedora not following standards.... David |
01-31-2009, 04:56 PM | #4 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I'm out of ideas, that error should be impossible. The only other thing I can think of is to look at the file /opt/calibre/manifest (it will contain a list of program names) and delete those name from /usr/bin and the try the install
|
01-31-2009, 08:49 PM | #5 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Could you check the SELinux log files and see if it is doing anything with the process?
|
Advert | |
|
01-31-2009, 09:21 PM | #6 |
Member
Posts: 17
Karma: 10
Join Date: Nov 2007
Device: sony prs500
|
kovidgoyal,
You know your stuff. After rm all files listed manifest from /usr/bin calibre started to worked. It was weird. After the last file was removed calibre just popped on the screen. Thanks David |
06-09-2009, 06:47 PM | #7 |
Junior Member
Posts: 7
Karma: 10
Join Date: Feb 2009
Location: California
Device: REB1100, Sony 505 & 700
|
I found this thread, I have a very similar set-up (Fedora 10 Cambridge Kernel 2.6.27.24-170.2.68fc10.x86_64, Gnome 2.24.3, Python 2.5.2) and I've been having similar errors. After deleting and trying again several times my current error using the binary install is:
Extracting files to /opt/calibre ... Extracting application files... Traceback (most recent call last): File "/tmp/init.py", line 43, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 10, in <module> File "/home/kovid/work/calibre/src/calibre/devices/__init__.py", line 12, in devices File "/home/kovid/work/calibre/src/calibre/devices/cybookg3/driver.py", line 11, in <module> File "/home/kovid/work/calibre/src/calibre/devices/usbms/driver.py", line 13, in <module> File "/home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py", line 9, in <module> File "/home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py", line 14, in <module> File "ExtensionLoader_lxml_etree.py", line 12, in <module> ImportError: libgcrypt.so.11: cannot open shared object file: No such file or directory /opt/calibre/calibre_postinstall: line 7: 8229 Segmentation fault $loader "$@" Anyone got any ideas? It seems to be saying there is a compatibility issue in a library. I also did note the comment about using Python 2.6, how significant is that? |
06-10-2009, 02:16 PM | #8 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Install a 32 bit version of the library libgcrypt
|
06-17-2009, 01:31 PM | #9 |
Junior Member
Posts: 7
Karma: 10
Join Date: Feb 2009
Location: California
Device: REB1100, Sony 505 & 700
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fedora 14 + Sony PRS-300: calibre doesn't work | nodata | Calibre | 14 | 05-20-2012 04:36 PM |
Calibre Binary Install Upgrade Failed Today | ksburgess | Calibre | 8 | 03-12-2010 07:35 AM |
Latest Calibre and Fedora 12 Issue | Boricua | Calibre | 0 | 03-02-2010 06:37 AM |
Calibre on Fedora 12 | kremkex | Calibre | 1 | 02-28-2010 03:56 PM |
Calibre install failed | lfcobra | Calibre | 8 | 12-28-2009 09:22 PM |