[PyKDE] run-time link problems with libsip on SGI

Green, Gregory P gregory.p.green at boeing.com
Thu May 30 21:56:00 BST 2002


I have a problem with sip-3.2.4 and Qt-3.0.4 on Irix n32, using the sgi
native compilers. Compilation and linking works just fine, but libsip has
unresolved externals when imported. Here is the message from the import:

Python 2.2.1 (#4, May 24 2002, 16:26:03) [C] on irix646
Type "help", "copyright", "credits" or "license" for more information.
>>> import libsip
import libsip
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: 469892:python2.2: rld: Fatal Error: unresolvable symbol in
/proj/ggreen/lib/python2.2/site-packages/libsip.so:
__record_needed_destruction
>>> 

The symbol that is not found is in libqt.so. Here is the relevant nm output:

crayola:/proj/ggreen/src/sip-3.2.4 > nm
/proj/ggreen/qt-3.0.4-irix-n32/lib/libqt.so | grep
__record_needed_destruction
[1788]  |1602344352|      40|FUNC |GLOB |HIDDEN
|MIPS_TEXT|__record_needed_destruction

The ldd output on libsip.so shows it as needing libqt.so so I'm not sure why
it doesn't work.

crayola:/proj/ggreen/src/sip-3.2.4 > ldd
/proj/ggreen/lib/python2.2/site-packages/libsip.so
        libqt.so.3  =>   /proj/ggreen/qt-3.0.4-irix-n32/lib//libqt.so.3 
        libXt.so  =>     /usr/lib32/libXt.so    
        libX11.so.1  =>  /usr/lib32/libX11.so.1 
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libGL.so  =>     /usr/lib32/libGL.so    
        libXmu.so  =>    /usr/lib32/libXmu.so   
        libXext.so  =>   /usr/lib32/libXext.so  
        libm.so  =>      /usr/lib32/libm.so     
        libCsup.so  =>   /usr/lib32/libCsup.so  
        libC.so.2  =>    /usr/lib32/libC.so.2   
        libgen.so  =>    /usr/lib32/libgen.so   delay-load
        libGLcore.so  =>         /usr/lib32/libGLcore.so        
        libXsgivc.so  =>         /usr/lib32/libXsgivc.so        

Any pointers/suggestions welcome. All of Qt's example programs work fine.

Greg Green
Advanced Computing Technologist
Mathematics & Computing Technology
(425)865-2790




More information about the PyQt mailing list