[PyQt] PyKDE and undefined symbols

Jim Bublitz jbublitz at nwinternet.com
Wed Sep 5 00:08:23 BST 2007


On Tuesday 04 September 2007 15:16, Bart wrote:
> I've found some undefinied symbols in PyKDE-3.16
>
> There are more errors like this one. Please check in your PyKDE module.
>
> How to solve this problem?
>
> Best regards.
> Bart.
>
>
> $ python
> Python 2.5.1 (r251:54863, Jul 31 2007, 09:34:25)
> [GCC 4.2.1 20070719 (release) (PLD-Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import kparts
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol:
> _ZNK23konsoleBrowserExtension9classNameEv
>
> >>> import kmdi
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol:
> _ZNK23konsoleBrowserExtension9classNameEv

jim:/home/jim # c++filt _ZNK23konsoleBrowserExtension9classNameEv
konsoleBrowserExtension::className() const

Run configure.py -x which disables konsolePart support (or alternatively edit 
the top level Makefile to remove konsole and konsolePart references. If the 
className() method isn't there, nothing related to konsolePart is.

Not every Linux distribution supports (support varies by version too).

configure.py should detect this automatically, and I thought it was off by 
default. You might be using an older version of PyKDE.

Jim


More information about the PyQt mailing list