[PyKDE] Linking error

Pete Ware ware at cis.ohio-state.edu
Sat Apr 1 21:20:17 BST 2000

Pete Ware <ware at cis.ohio-state.edu> writes:

> Solaris 
> qt-2.0.2 (for the first time for me)
> sip and PyQt 0.11
> gcc version 2.8.1
> ImportError: ld.so.1: python: fatal: relocation error: file /usr/contrib/lib/python1.5/lib-dynload/libqtcmodule.so: symbol metaObject__C11QMotifStyle: referenced symbol not found

My problem turned out to be that I was mixing Sun's CC with g++.  By
default, qt under Solaris compiles with CC.  To get it to compile with
g++ took a little more effort (all documented on www.troll.no) but it
finally worked.  Once everyting was compiled with g++, it worked.


More information about the PyQt mailing list