[PyKDE] Buling PyQt into Python: Errors
Hihn, Jason
Jason.Hihn at verint.com
Fri Oct 22 13:53:26 BST 2004
I got it. The dynamic loader was trying to link to a Qt3.1 that was
installed. Reconfiguring ld.so.conf fixed it.
> -----Original Message-----
> From: pykde-bounces at mats.imk.fraunhofer.de [mailto:pykde-
> bounces at mats.imk.fraunhofer.de] On Behalf Of Hihn, Jason
> Sent: Thursday, October 21, 2004 10:50 AM
> To: Phil Thompson
> Cc: pykde at mats.imk.fraunhofer.de
> Subject: RE: [PyKDE] Buling PyQt into Python: Errors
>
>
> PYQT_LIBS was adjusted, and PYQT_OBJS constructed as per the commands.
>
>
> Well objdump shows the symbol in the qt lib:
> 007ad698 w O .data 0000000c _ZTI13QSplashScreen
>
> I tried a different qt, but same results. I do have a python binary,
but
> on launch it loads and immediately gives that error.
>
> I'm at a lost because as Objdump shows, its in there!
>
>
> > -----Original Message-----
> > From: Phil Thompson [mailto:phil at riverbankcomputing.co.uk]
> > Sent: Thursday, October 21, 2004 9:31 AM
> > To: Hihn, Jason
> > Cc: pykde at mats.imk.fraunhofer.de
> > Subject: RE: [PyKDE] Buling PyQt into Python: Errors
> >
>
> > >
> > > Ah, ok. I got it mostly working.
> > >
> > > I get errors on qtext and qtgl modules. I guess they weren't built
> by
> > > PyQt for some reason...
> > >
> > > Now I get one final error:
> > > case $MAKEFLAGS in \
> > > *-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared'
> OPT='-DNDEBUG
> > > -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q
build;;
> \
> > > *) CC='gcc -pthread' LDSHARED='gcc -pthread -shared'
OPT='-DNDEBUG
> -g
> > > -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
> > > esac
> > > ./python: relocation error: ./python: undefined symbol:
> > > _ZTI13QSplashScreen
> > > make: *** [sharedmods] Error 127
> > >
> > > I am compiling against Qt-x11-commercial-3.3.3
> > >
> > > Any ideas?
> >
>
> > Assuming that the symbol is defined in your Qt shared library I
would
> > suspect that it's not finding the library itself. Remember - the
> PYQT_LIBS
> > in the documentation is an example and may not be appropriate for
your
> > setup. Compare it with the PyQt Makefiles that are generated for
your
> > system to see if there are extra flags you need to specify.
> >
>
> > Phil
> >
>
>
>
>
>
________________________________________________________________________
__
> ________________
> This electronic message may contain proprietary and confidential
> information of Verint Systems Inc., its affiliates and/or
subsidiaries.
> The information is intended to be for the use of the individual(s) or
> entity(ies) named above. If you are not the intended recipient (or
> authorized to receive this e-mail for the intended recipient), you may
not
> use, copy, disclose or distribute to anyone this message or any
> information contained in this message. If you have received this
> electronic message in error, please notify us by replying to this
e-mail.
> (1)
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
__________________________________________________________________________________________
This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above. If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message. If you have received this electronic message in error, please notify us by replying to this e-mail. (1)
More information about the PyQt
mailing list