Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2014, 09:41 PM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Calibre (beta) GUIs will not run -- wrong version of glibc?

Code:
[eschwartz@arch ~]$ CALIBRE_DEVELOP_FROM="" calibre-debug -g
calibre 1.203.1  isfrozen: True is64bit: False
Linux-3.15.5-2-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '3.15.5-2-ARCH', '#1 SMP PREEMPT Fri Jul 11 07:55:51 CEST 2014')
Python 2.7.8
Linux: ('', '', '')
Traceback (most recent call last):
  File "site.py", line 51, in main
  File "site-packages/calibre/debug.py", line 220, in main
  File "site-packages/calibre/gui2/main.py", line 458, in main
  File "site-packages/calibre/gui2/main.py", line 320, 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: /opt/calibre/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/calibre/lib/libQt5WebKit.so.5)
All GUI windows are broken like this. Using source (fully updated):

Code:
[eschwartz@arch ~]$ calibre-debug -g
calibre 1.203.1*  isfrozen: True is64bit: False
Linux-3.15.5-2-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '3.15.5-2-ARCH', '#1 SMP PREEMPT Fri Jul 11 07:55:51 CEST 2014')
Python 2.7.8
Linux: ('', '', '')
Traceback (most recent call last):
  File "site.py", line 51, in main
  File "/home/eschwartz/git/calibre/src/calibre/debug.py", line 220, in main
    main(['calibre'])
  File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 458, in main
    gui_debug=gui_debug)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 320, in run_gui
    from calibre.gui2.ui import Main
  File "/home/eschwartz/git/calibre/src/calibre/gui2/ui.py", line 41, in <module>
    from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File "/home/eschwartz/git/calibre/src/calibre/gui2/init.py", line 18, in <module>
    from calibre.gui2.library.views import BooksView, DeviceBooksView
  File "/home/eschwartz/git/calibre/src/calibre/gui2/library/views.py", line 18, in <module>
    from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
  File "/home/eschwartz/git/calibre/src/calibre/gui2/library/delegates.py", line 22, in <module>
    from calibre.gui2.dialogs.comments_dialog import CommentsDialog
  File "/home/eschwartz/git/calibre/src/calibre/gui2/dialogs/comments_dialog.py", line 9, in <module>
    from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog
  File "/home/eschwartz/git/calibre/src/calibre/gui2/dialogs/comments_dialog_ui.py", line 41, in <module>
    from calibre.gui2.comments_editor import Editor
  File "/home/eschwartz/git/calibre/src/calibre/gui2/comments_editor.py", line 18, in <module>
    from PyQt5.QtWebKitWidgets import QWebView, QWebPage
ImportError: /opt/calibre/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/calibre/lib/libQt5WebKit.so.5)
eschwartz is offline   Reply With Quote
Old 07-30-2014, 10:27 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,317
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Where is /opt/calibre/lib/libstdc++.so.6 coming from, it is not part of the official tarball. Try deleting /opt/calibre and re-installing.
kovidgoyal is online now   Reply With Quote
Advert
Old 07-30-2014, 10:47 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I have no idea , but that worked.

I have never done anything other than unzip official tarballs there. Or install via the official script.

...

It seems to be in the Qt4 main binaries, and I unzipped the beta without clearing /opt/calibre/
eschwartz is offline   Reply With Quote
Old 07-30-2014, 10:51 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,317
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah it was removed from the Qt 5 tarballs because the QPA infrastructure requires the system libstdc++ to be used. https://github.com/kovidgoyal/calibr...freeze2.py#L93
kovidgoyal is online now   Reply With Quote
Old 07-30-2014, 11:02 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Mystery solved!

Lesson learned -- wipe /opt/calibre before manually extracting stuff. I assume the installer does this already.

We need a beta install script.
eschwartz is offline   Reply With Quote
Advert
Old 07-30-2014, 11:11 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,317
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, the installer does it already.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre v 1.41.0 shows wrong version Divingduck Calibre 2 06-21-2014 04:09 AM
Calibre reporting wrong version sfuller Calibre 3 03-28-2013 01:25 AM
Cross compiling for the Kindle - wrong glibc version ninjageckoattack Kindle Developer's Corner 14 02-25-2012 04:44 PM
Calibre Linux: Wrong version number samy2 Calibre 9 06-19-2011 09:59 AM
How to get version of Calibre being run from within plugin? KevinH Plugins 4 04-14-2011 07:42 AM


All times are GMT -4. The time now is 09:49 AM.


MobileRead.com is a privately owned, operated and funded community.