[PyKDE] Problems installing PyQt3.0: unresolved symbol in qttable

Joerg Henrichs joerg at luding.org
Thu Mar 7 12:17:48 GMT 2002


Hi all,

I have some problem installing PyQt3.0. I installed the source release 
qt3.0 (trolltech), sip3.0, and PyQt3.0 (from thekompany). Everything 
works fine, except: installation for pyqt3.0 fails when testing qttable

Python 2.1.1 (#6, Oct 10 2001, 23:54:57)
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
 >>> import qttable
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/local/lib/python2.1/site-packages/qttable.py", line 34, in ?
     import libqttablec
ImportError: 
/usr/local/lib/python2.1/site-packages/libqttablecmodule.so: undefined 
symbol: sipVH_create__10sipQWidgetPC14sipMethodCacheP12_sipThisTypeiUlbT5

After uncommenting the test for qttable (and for qtsql, since this test 
imports qttable), everything else works fine.

I am using 7.2, but removed all sip*, pyqt* packages before installing 
from source.

root at luding:/home/luding/tmp/PyQt-3.0 > gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)

I still have qt2 installed, but I think python is picking up the correct 
libraries.

Before I start demangeling the symbol and looking at the sources: any 
ideas about the reason? I did a make clean in PyQt3.0/qttable, but the 
recompilation does not show any errors or warnings. Do you need any 
other information?

Thanks a lot
     Joerg

PS: I tried downloading the latest CVS release from the repository, but 
I couldn't login as guest. Should I try one of the 3.1 alpha versions?

luding at luding:~/tmp/PyQt-3.0 > cvs -d 
:pserver:guest at cvs.thekompany.com:public login
(Logging in to guest at cvs.thekompany.com)
CVS password:
public: no such repository
cvs login: authorization failed: server cvs.thekompany.com rejected 
access to public for user guest

-- 
--
----------------------------------------------------------------
Joerg Henrichs
Luding Administration
e-mail: joerg at luding.org
URL:    http://luding.org







More information about the PyQt mailing list