[PyKDE] Undefined symbol: sipWrapperTypeName
    Jim Panetta 
    panetta at SLAC.Stanford.EDU
       
    Tue Dec  9 19:43:00 GMT 2003
    
    
  
Phil Thompson wrote:
> On Thursday 04 December 2003 3:17 am, Jim Panetta wrote:
> 
>>Hi all,
>>
>>I'm importing a SIP-ified shared library into python.
>>This seems to work on Windows, but not Linux.  Each of
>>PATH, PYTHONPATH and LD_LIBRARY_PATH contain the path
>>to libsip.so, which defines sipWrapperTypeName.
>>( output from nm -C : 0000c444 D sipWrapperTypeName )
>>
>>My library is compiled with gcc version 2.95.3 with the
>>following options:
>>g++ -shared  <files>  -Wl,--rpath
>>-Wl,/afs/slac/g/glast/applications/python/Python-2.2.2/@sys/lib/python2.2/site-packages
>>-L/afs/slac/g/glast/applications/python/Python-2.2.2/@sys/lib/python2.2/site-packages 
>>-Wl,-soname -Wl,libEBFc.so.0 -o .libs/libEBFc.so.0.0.0
>>
>>Any ideas?
> 
> So what actually happens?
$ python -i EBFdump.py
Traceback (most recent call last):
   File "EBFdump.py", line 77, in ?
     import EBF
   File 
"/afs/slac.stanford.edu/u/ec/panetta/vol2/Online/EBF/obj/EBF.py", line 
6, in ?
     import libEBFc
ImportError: 
/afs/slac.stanford.edu/u/ec/panetta/vol2/Online/EBF/obj/libEBFc.so: 
undefined symbol: sipWrapperTypeName
> Are you using build.py or configure.py?
Neither.  I'm not compiling SIP.
> What version of SIP?
$ sip -V
3.8 (build 109)
  --Jim Panetta
    
    
More information about the PyQt
mailing list