Calibre 2.1 Linux install fails

Bug #1363731 reported by Mike Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Updating existing Calibre on CentOS 6.5 to Calibre 2.1. Installed failed with two warnings. CentOS 6.5 up to date as of 31 August 2014.

bash-4.1$ sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
[sudo] password for mikew:
2014-08-31 13:58:04 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25619/25619] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-2.1.0-x86_64.txz
                               Downloading calibre-2.1.0-x86_64.txz
100% [=======================================================================================]
                                                                                                 Downloaded 58367012 bytes
Checking downloaded file integrity...
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
        Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
        Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
        Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
        Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
        Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
        Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
        Symlinking /opt/calibre/calibre to /usr/bin/calibre
        Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
        Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
        Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
        Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
        Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
        Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
        Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
        Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
        Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
        Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
        Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
        Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Failed to find directory to install bash completions, using default.

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________

        Traceback (most recent call last):
          File "site-packages/calibre/linux.py", line 746, in setup_completion
          File "site-packages/calibre/linux.py", line 504, in write_completion
          File "site-packages/calibre/gui2/viewer/main.py", line 12, in <module>
          File "site-packages/calibre/gui2/viewer/ui.py", line 12, in <module>
        ImportError: cannot import name QWebView

Setting up desktop integration...

____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________

        Traceback (most recent call last):
          File "site-packages/calibre/linux.py", line 816, in setup_desktop_integration
          File "site-packages/calibre/ebooks/oeb/polish/main.py", line 15, in <module>
          File "site-packages/calibre/ebooks/oeb/polish/stats.py", line 17, in <module>
        ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/calibre/lib/libQt5WebKit.so.5)

Creating un-installer: /usr/bin/calibre-uninstall

There were 2 warnings

* Setting up completion failed with error:

* Setting up desktop integration failed with error:

Run "calibre" to start calibre

(Note: /usr/share/zsh/site-functions exists. Bash version: bash-4.1.2-15)

------------------------
Enter "calibre" on command line. Received this error.

bash-4.1$ calibre
Traceback (most recent call last):
  File "site.py", line 51, in main
  File "site-packages/calibre/gui_launch.py", line 40, in calibre
  File "site-packages/calibre/gui2/main.py", line 461, in main
  File "site-packages/calibre/gui2/main.py", line 321, in run_gui
  File "site-packages/calibre/gui2/ui.py", line 41, in <module>
  File "site-packages/calibre/gui2/init.py", line 18, in <module>
  File "site-packages/calibre/gui2/library/views.py", line 18, in <module>
  File "site-packages/calibre/gui2/library/delegates.py", line 22, in <module>
  File "site-packages/calibre/gui2/dialogs/comments_dialog.py", line 9, in <module>
  File "site-packages/calibre/gui2/dialogs/comments_dialog_ui.py", line 41, in <module>
  File "site-packages/calibre/gui2/comments_editor.py", line 18, in <module>
ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/calibre/lib/libQt5WebKit.so.5)

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1363731

As is noted ont he download page, you need glibc >= 2.13 and libstdc++
from gcc >= 4.7. for calibre 2.0. If you cannot install these on your
distro then use an older calibre release. Instructions for installing
older releases are on the linux download page.

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.