[PyQt] Pyqt4 compilation "-lpng" problem
Jean David
jean.david at nto.atmel.com
Thu Mar 15 16:31:02 GMT 2007
Hi
I try unsuccessfully to compile PyQt-x11-gpl-4.1.1 with an error message
below. libpng exists see listing below
Any idea ?
rwxrwxrwx 1 root root 19 Jan 1 2004
/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.2*
-rwxr-xr-x 1 root root 139952 Jul 23 2004
/usr/lib/libpng12.so.0.1.2.2*
lrwxrwxrwx 1 root root 18 Jan 1 2004
/usr/lib/libpng.so.2 -> libpng.so.2.1.0.13*
-rwxr-xr-x 1 root root 135912 Jul 23 2004
/usr/lib/libpng.so.2.1.0.13*
lrwxrwxrwx 1 root root 19 Jan 1 2004
/usr/lib/libpng.so.3 -> libpng12.so.0.1.2.2*
lrwxrwxrwx 1 root root 19 Jan 1 2004
/usr/lib/libpng.so.3.1.2.2 -> libpng12.so.0.1.2.2*
> make[1]: Entering directory `/home/jd/PyQt-x11-gpl-4.1.1/QtTest'
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_TEST_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
> -I/nfsi/cag/cagtemp/jd/soft/python/include/python2.5
> -I/home/jd/qt4/mkspecs/default -I/home/jd/qt4/include/QtTest
> -I/home/jd/qt4/include/QtGui -I/home/jd/qt4/include/QtCore
> -I/home/jd/qt4/include -I/usr/X11R6/include -o sipQtTestcmodule.o
> sipQtTestcmodule.cpp
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_TEST_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
> -I/nfsi/cag/cagtemp/jd/soft/python/include/python2.5
> -I/home/jd/qt4/mkspecs/default -I/home/jd/qt4/include/QtTest
> -I/home/jd/qt4/include/QtGui -I/home/jd/qt4/include/QtCore
> -I/home/jd/qt4/include -I/usr/X11R6/include -o sipQtTestQTest.o
> sipQtTestQTest.cpp
> g++ -shared -Wl,-rpath,/home/jd/qt4/lib
> -Wl,--version-script=QtTest.exp -o QtTest.so sipQtTestcmodule.o
> sipQtTestQTest.o -L/home/jd/qt4/lib -L/usr/X11R6/lib -lQtTest
> -L/home/jd/qt/qt-x11-opensource-src-4.2.2/lib -lQtCore
> -L/home/jd/qt/qt-x11-opensource-src-4.2.2/lib -lz -lm
> -L/usr/local/kde3.4.2/lib -lglib-2.0 -ldl -lpthread -lQtGui
> -L/home/jd/qt/qt-x11-opensource-src-4.2.2/lib -L/usr/X11R6/lib -lpng
> -lSM -lICE -lQtCore -L/home/jd/qt/qt-x11-opensource-src-4.2.2/lib -lz
> -L/usr/local/kde3.4.2/lib -lglib-2.0 -lpthread -lXi -lXrender -lXrandr
> -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm -ldl
> -lQtCore -L/home/jd/qt/qt-x11-opensource-src-4.2.2/lib -lz -lm
> -L/usr/local/kde3.4.2/lib -lglib-2.0 -lpthread -ldl -lXext -lX11 -lm
> -lpthread
> ld: cannot find -lpng
> collect2: ld returned 1 exit status
> make[1]: *** [QtTest.so] Error 1
> make[1]: Leaving directory `/home/jd/PyQt-x11-gpl-4.1.1/QtTest'
> make: *** [all] Error 2
Thanks
--
Jean David
Layout & Backend
ATMEL NANTES SA Phone : 33 02 40 18 17 60
BP 70602 - La Chantrerie Fax : 33 02 40 18 17 50
44306 NANTES Cedex 3 - France E-mail: jean.david at nto.atmel.com
More information about the PyQt
mailing list