[PyKDE] Post Build Runtime problems libqtcmodule.so: undefinedsymbol:static_QUType_ptr

Liam Herron liam_herron at hotmail.com
Mon May 6 06:33:00 BST 2002


>Have you got files generated from different versions of moc lying around?

Not sure what this means.  This is the first time I have
unzipped, and tried to compile.  I have no previous versions
of the moc.

What other things can I do to debug this call?  Where would
be a good place to put some printf's?  Can I run a debuggable
version of this dyn lib?

Liam


>From: Phil Thompson <phil at river-bank.demon.co.uk>
>To: Liam Herron <liam_herron at hotmail.com>
>CC: pykde at mats.gmd.de
>Subject: Re: [PyKDE] Post Build Runtime problems libqtcmodule.so: 
>undefinedsymbol:static_QUType_ptr
>Date: Fri, 03 May 2002 10:18:12 +0100
>
>Liam Herron wrote:
> >
> > So I went back and built this thing with the 2.96 compiler.
> > When I try to run this thing in python I get:
> >
> > [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>>import qt
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/local/lib/python2.2/site-packages/qt.py", line 47, in ?
> >     import libqtc
> > ImportError: /usr/local/lib/python2.2/site-packages/libqtcmodule.so:
> > undefined symbol: static_QUType_ptr
> > >>>
> >
> > So I then check the library for that symbol:
> > nm /usr/local/lib/python2.2/site-packages/libqtcmodule.so |
> > grep static_QUType_ptr
> >          U static_QUType_ptr
> >
> > so it is undefined in that library.
> >
> > I start hunting for how this library is built and what files need it and 
>I
> > find that it is really only:
> >   sipqtProxyqt.moc
> >
> > that needs it.  I then look at the headers this brings in:
>
>Like I said, PyQt does not explicitly reference this symbol. So if it is
>referenced, then it's probably moc that's generating them. Have you got
>files generated from different versions of moc lying around?
>
>Phil




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the PyQt mailing list