|
|
#1 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
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)
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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/ |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
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
|
|
|
|
|
|
#5 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, the installer does it already.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre v 1.41.0 shows wrong version | Divingduck | Calibre | 2 | 06-21-2014 05:09 AM |
| Calibre reporting wrong version | sfuller | Calibre | 3 | 03-28-2013 02:25 AM |
| Cross compiling for the Kindle - wrong glibc version | ninjageckoattack | Kindle Developer's Corner | 14 | 02-25-2012 05:44 PM |
| Calibre Linux: Wrong version number | samy2 | Calibre | 9 | 06-19-2011 10:59 AM |
| How to get version of Calibre being run from within plugin? | KevinH | Plugins | 4 | 04-14-2011 08:42 AM |