[Bug 1403260] [NEW] Undefined symbols within QtGui.so in PyQt4

Octavio Navarro hagennav at gmail.com
Wed Dec 17 00:14:28 UTC 2014


Public bug reported:

Whenever I try to run a Qt program, such as this one:

import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
button = QPushButton(“Hello World”, None)
button.show()
app.exec_()

No application is launched, and I get the following error message:

from PyQt4.QtGui import *
ImportError: /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so: undefined symbol: _ZN15QSessionManager16staticMetaObjectE

I have reinstalled the following packages to no avail:

python-qt4
python-qt4-dev
python-qt4-gl
libqtgui4
libqtcore4

Some system info:
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
3.13.0-32-lowlatency 
usr/bin/python2.7: Python 2.7.6 
Using Qt version 4.8.6

python-qt4:
  Installed: 4.10.4+dfsg-1ubuntu1
  Candidate: 4.10.4+dfsg-1ubuntu1
  Version table:
 *** 4.10.4+dfsg-1ubuntu1 0
        500 http://mx.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

python-qt4-dev:
  Installed: 4.10.4+dfsg-1ubuntu1
  Candidate: 4.10.4+dfsg-1ubuntu1
  Version table:
 *** 4.10.4+dfsg-1ubuntu1 0
        500 http://mx.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

libqtcore4:
  Installed: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  Candidate: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  Version table:
 *** 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 0
        500 http://mx.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

libqtgui4:
  Installed: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  Candidate: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  Version table:
 *** 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 0
        500 http://mx.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Hope anyone can help me with this.

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1403260

Title:
  Undefined symbols within QtGui.so in PyQt4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1403260/+subscriptions




More information about the kubuntu-bugs mailing list