I'm replying to my own comment since I resolved the issue. I edited the Makefile in the siplib subdirectory and added '-lCrun' to the LIBS tag. I then deleted the currently compiled libsip.so, recompiled, installed and am able to import qt successfully. Thanks to Albert Chin for making me see what I was missing.
Thanks Steven Faulconer -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Faulconer, Steven M. Sent: Wednesday, February 11, 2004 2:54 PM To: '[EMAIL PROTECTED]' Cc: 'Albert Chin' Subject: RE: [PyKDE] Solaris 9 / Sip problem I did use the Sun Forte Compiler. Oddly enough, libsip doesn't appear to be linked to the libCrun library. % ldd libsip.so libqt-mt.so.3 => /usr/local/qt/lib/libqt-mt.so.3 libXext.so.0 => /usr/lib/libXext.so.0 libX11.so.4 => /usr/lib/libX11.so.4 libresolv.so.2 => /usr/lib/libresolv.so.2 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libpthread.so.1 => /usr/lib/libpthread.so.1 libGL.so.1 => /usr/lib/libGL.so.1 libXmu.so.4 => /usr/lib/libXmu.so.4 libXrender.so.1 => /usr/sfw/lib/libXrender.so.1 libSM.so.6 => /usr/lib/libSM.so.6 libICE.so.6 => /usr/lib/libICE.so.6 libdl.so.1 => /usr/lib/libdl.so.1 libc.so.1 => /usr/lib/libc.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libdga.so.1 => /usr/openwin/lib/libdga.so.1 libm.so.1 => /usr/lib/libm.so.1 libXt.so.4 => /usr/lib/libXt.so.4 libthread.so.1 => /usr/lib/libthread.so.1 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1 So, perhaps I need to edit the SIP make file and force a linking to libCrun, or is it possible to force the linking after the fact? Thanks for the response. -----Original Message----- From: Albert Chin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 2:51 PM To: Faulconer, Steven M. Cc: '[EMAIL PROTECTED]' Subject: Re: [PyKDE] Solaris 9 / Sip problem On Tue, Feb 10, 2004 at 05:26:05AM -0800, Faulconer, Steven M. wrote: > Hello everyone, > > I'm having a bit of an issue with PyQT on Solaris 9. Here are the > particulars: > > Compiler : Sun Forte 6 Update 2 > QT : 3.1.2 > SIP : 3.10 > QScintilla : 1.54 > PyQT : 3.10 > Python : 2.3.3 > > I know my QT version is a little dated, but I don't have much choice > since one of the software packages we use (don't have the source for) > relies on 3.1.x version of QT. > > The problem: > > Everything compiles and installs fine. When I attempt to import qt I > get: > > [ steven @ leopard ] : python > Python 2.3.3 (#1, Feb 9 2004, 17:07:32) [C] on sunos5 > Type "help", "copyright", "credits" or "license" for more information. > >>> import qt > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib/python2.3/site-packages/qt.py", line 24, in ? > import libsip > ImportError: ld.so.1: python: fatal: relocation error: file > /usr/lib/python2.3/site-packages/libsip.so: symbol > __1cG__CrunKpure_error6F_v_: referenced symbol not found > >>> > > Now, I've looked around the net quite a bit but haven't been able to > find a solution. I noticed some problems back in July 2003 posted on > this list, but never saw a response with a solution. My concern is > that the version of QT (thus the version of the library) is too old to > support the latest versions of SIP/PyQT. Anyone have any thoughts on > this problem? Did you build Python with the Sun C++ compiler? The symbol __1cG__CrunKpure_error6F_v_ is from -lCrun. If you didn't build Python with the Sun C++ compiler then -lCrun wasn't linked into the python binary and thus the symbol isn't available. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde