[PyQt] Error in compiling the library

Kannan U V kannanuv at cshl.edu
Fri Sep 24 05:41:48 BST 2010


H,
I am trying to compile  PyQt and get the following error. I have
python 2.4.3 and Qt 4.7.0 on a CentOS 5.5

make[1]: Leaving directory
`/home/kannanuv/software/PyQt-x11-gpl-4.7.7/pylupdate'
make[1]: Entering directory `/home/kannanuv/software/PyQt-x11-gpl-4.7.7/pyrcc'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_XML_LIB -I.
-I/usr/local/Trolltech/Qt-4.7.0/mkspecs/default
-I/usr/local/Trolltech/Qt-4.7.0/include/QtCore
-I/usr/local/Trolltech/Qt-4.7.0/include/QtXml
-I/usr/local/Trolltech/Qt-4.7.0/include -o main.o main.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_XML_LIB -I.
-I/usr/local/Trolltech/Qt-4.7.0/mkspecs/default
-I/usr/local/Trolltech/Qt-4.7.0/include/QtCore
-I/usr/local/Trolltech/Qt-4.7.0/include/QtXml
-I/usr/local/Trolltech/Qt-4.7.0/include -o rcc.o rcc.cpp
g++ -Wl,-O1 -o pyrcc4 main.o rcc.o -L/usr/local/Trolltech/Qt-4.7.0/lib
-lQtCore -L/usr/local/Trolltech/Qt-4.7.0/lib -lpthread -lQtXml
-L/usr/local/Trolltech/Qt-4.7.0/lib -lQtCore
-L/usr/local/Trolltech/Qt-4.7.0/lib -lpthread -lpthread
./pyrcc4 -py2 -o
../examples/draganddrop/fridgemagnets/fridgemagnets_rc.py
../examples/draganddrop/fridgemagnets/fridgemagnets.qrc
./pyrcc4: symbol lookup error: ./pyrcc4: undefined symbol:
_Z7qstrcmpRK10QByteArrayPKc
make[1]: *** [pyrcc4] Error 127
make[1]: Leaving directory `/home/kannanuv/software/PyQt-x11-gpl-4.7.7/pyrcc'
make: *** [all] Error 2


Thanks,
Kannan


More information about the PyQt mailing list