[PyKDE] PyQt - undefined symbol
Phil Thompson
phil at river-bank.demon.co.uk
Sun Apr 20 00:12:00 BST 2003
On Saturday 19 April 2003 10:55 pm, Erik Dahlgren wrote:
> I looked a little closer at the nm output of libpython2.2.a and found
>
> U PyUnicodeUCS2_FromUnicode
> 00000440 T PyUnicodeUCS2_FromUnicode
> U PyUnicodeUCS2_FromUnicode
>
> So it is defined. Any idea why libqtcmodule.so can't find it then?
No. Obviously it's what's in the python executable that matters rather than
this library - but I think you implied that that had been stripped so it's
rather difficult to tell.
Phil
> On Saturday 19 April 2003 04:10 pm, Phil Thompson wrote:
> > On Saturday 19 April 2003 3:40 pm, Erik Dahlgren wrote:
> > > Both my python and qt versions are from RH9. When running nm on
> > > libqtcmodule.so I get
> > >
> > > U PyUnicode_Type
> > > U PyUnicodeUCS2_FromUnicode
> > > 002e3190 t _Z18QStringToPyUnicodeP7QString
> > >
> > > In libpython2.2.a there is 'U PyUnicodeUCS2_FromUnicode' so they seem
> > > to agree. There are no symbols in my libqt-mt.so in my qt lib dir.
> > > There is no such file in the site-packages dir.
> >
> > You don't want them to agree. You want to see "U" in libqtcmodule.so
> > meaning it's undefined. You want to see "T" in libpython2.2.a meaning
> > it's defined. (Note that it might also appear several times as "U" in the
> > .a file.)
> >
> > Phil
More information about the PyQt
mailing list