[PyKDE] Solaris PyQT Problem

Faulconer, Steven M. STEVEN.M.FAULCONER at saic.com
Wed Jul 28 00:34:01 BST 2004


Been doing a bit more digging, and it seems that symbol in in several other
libraries in /usr/lib:

libicui18n.so
libicule.so
libicuuc.so
libustdio.so

All of these show it in the same way, a bunch of spaces, then the name of
the symbol in brackets. It seems to me that this means it makes a reference
to the symbol, yet, doesn't know where it exists (isn't linked to the
library with the symbol in it).

The compiler (Sun Forte 6 Update 2) has one library with references to this
symbol (libCrun.so). Running 'nm -C' on that library and greping for the
symbol results in:

                                                       [__1c2k6Fpv_v_]
 
[__1c2k6FpvrknDstdJnothrow_t__v_]
                                                       [__1c2K6Fpv_v_]
 
[__1c2K6FpvrknDstdJnothrow_t__v_]

(the spaces, again, are part of the output). This spark any thoughts in
anyones heads as to a possible solution? I'm starting to run out of ideas.

Thanks.

Steven

-----Original Message-----
From: pykde-admin at mats.imk.fraunhofer.de
[mailto:pykde-admin at mats.imk.fraunhofer.de] On Behalf Of Faulconer, Steven
M.
Sent: Thursday, July 22, 2004 5:28 PM
To: pykde at mats.imk.fraunhofer.de
Subject: RE: [PyKDE] Solaris PyQT Problem


To continue with my troubleshooting:

I tried, just on a whim, recompiling the 3.12 version of PyQT and
reinstalling. Again, other than some warnings about anachronisms, the
compile went fine. When importing the qt module, I get the same exact error
message.

If someone has PyQT running on Solaris 8 or 9, could you verify the list of
libraries that qt.so is linked to? I just want to make sure something isn't
missing. Thanks.

        libqt-mt.so.3 =>         /usr/local/qt/lib/libqt-mt.so.3
        libGLU.so.1 =>   /usr/lib/libGLU.so.1
        libGL.so.1 =>    /usr/lib/libGL.so.1
        libXmu.so.4 =>   /usr/lib/libXmu.so.4
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        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
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libXt.so.4 =>    /usr/lib/libXt.so.4
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

Obviously, some paths may be different for QT, but the rest are all
standard. Thanks.

Steven Faulconer
-----Original Message-----
From: pykde-admin at mats.imk.fraunhofer.de
[mailto:pykde-admin at mats.imk.fraunhofer.de] On Behalf Of Faulconer, Steven
M.
Sent: Thursday, July 22, 2004 9:45 AM
To: 'jbublitz at nwinternet.com'; pykde at mats.imk.fraunhofer.de
Subject: RE: [PyKDE] Solaris PyQT Problem


I'm able to run 'nm -c' on the qt.so library, which demangles most of the
symbols, but I don't see anything like that in the resulting list.

Thanks.

Steven Faulconer

-----Original Message-----
From: Jim Bublitz [mailto:jbublitz at nwinternet.com] 
Sent: Wednesday, July 21, 2004 8:40 PM
To: Faulconer, Steven M.; pykde at mats.imk.fraunhofer.de
Subject: Re: [PyKDE] Solaris PyQT Problem


On Wednesday 21 July 2004 12:31, Faulconer, Steven M. wrote:
> >>> import qt

> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/lib/python2.3/site-packages/qt.so: symbol __1c2k6Fpv_v_: 
> referenced symbol not found

Do you have something like c++filt to demangle the symbol?

Jim

_______________________________________________
PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list