[PyKDE] linker problem when building PyQt

Ewald R. de Wit erdewit at zonnet.nl
Thu Oct 11 13:14:28 BST 2001


Timothy Grant (tjg at hyperlinq.net) wrote:
 
> Downloaded it and built it, but when I do make install I get the
> following error.
> 
> ImportError: /usr/local/lib/python2.1/site-packages/libqtcmodule.so:
> undefined symbol: __ti8sipProxy
> 
> Now I think I built sip correctly. It definitely was able to find the Qt
> libs. when I ran the configure script.

The __ti8* (type info) symbol means, i believe, that you have compiled
PyQt with rtti and Qt without. The solution would be to recompile PyQt
without rtti. For g++ this means setting (or adding) -fno-rtti to the
environment variable CXXFLAGS, and then doing ./configure & make again.

-- 
  --  Ewald






More information about the PyQt mailing list