[PyKDE] Buling PyQt into Python: Errors
Jason.Hihn at verint.com
Thu Oct 21 16:49:51 BST 2004
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
> > PyQt for some reason...
> > Now I get one final error:
> > case $MAKEFLAGS in \
> > *-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared'
> > -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;;
> > *) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG
> > -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
> 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.
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