Andrew Wilkinson a écrit :
Hi,

I can compile the latest snapshot of PyQt fine, however when I try to import it I get the following error...

Python 2.5 (r25:51908, Oct 25 2006, 09:55:50)
[GCC 4.1.1 (Gentoo 4.1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtGui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib64/python2.5/site-packages/PyQt4/QtGui.so: undefined symbol: _ZNK18QX11EmbedContainer5errorEv
It is not the answer to your question, but I use the occasion to give an poorly known trick with gcc: the utility c++filt lets you "unmangle" symbol names to get the "human readable" name of the missing symbol. In your case "c++filt _ZNK18QX11EmbedContainer5errorEv" returns "QX11EmbedContainer::error() const" so you know which function is missing from the compilation units.

Good luck.
>>>
I'm running qt-4.1.4.

Does anyone know what my problem is?

Regards,
Andrew

------------------------------------------------------------------------

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to