Linux中 qt 編譯出現tslib錯誤
Toreconfigure, run 'gmake confclean' and 'configure'.
You havenot explicitly asked to use pkg-config and are cross-compiling.
pkg-configwill not be used to automatically query cflag/lib parameters for
dependencies
The tslibfunctionality test failed!
You might need to modify the include andlibrary search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
errorwhile loading shared libraries: libz.so.1: cannot open shared object file: Nosuch file or directory
/usr/local/arm_linux_4.3/usr/bin/arm-linux-g++-c -pipe -Os -Wall -W -I../../../mkspecs/qws/linux-n3292x-g++ -I. -I/usr/local/tslib/include-I/usr/local/tslib/include -o tslib.o tslib.cpp
/usr/local/arm_linux_4.3/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.3.4/../../../../arm-linux-uclibcgnueabi/bin/as:error while loading shared libraries: libz.so.1: cannot open shared objectfile: No such file or directory
make: ***[tslib.o] Error 2
Copy built Qt to staging directory for development.
cd/path/to/qt-everywhere-opensource-src-4.8.5[RETURN]
makeINSTALL_ROOT=${MY_CC_STAGING} install[RETURN]
mkdir-p $MY_CC_QT4_PREFIX[RETURN]
rmdir$MY_CC_QT4_PREFIX[RETURN]
ln -s $MY_CC_STAGING/$MY_CC_QT4_PREFIX$MY_CC_QT4_PREFIX[RETURN]
yuminstall libz.so.1