想把qtopia移植到板子上运行,编译通过,但通过脚本文件运行时却提示:
/home/oneke/QT/build/image/bin/qpe: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
大意是找不到“ libasound.so.2 ”但这个文件,我满世界找了一圈都没有找到,不知道是什么原因,是不是在configure上要作一些什么修改呢,我的configure如下:
(为了查看方便,改成分行,在输入命令时是用空格连在一起的)
configure
-silent
-release
-xplatform linux-mips-g++
-arch mips
-no-qvfb
-no-modem
-no-bluetooth
-no-drm
-no-infrared
我的脚本文件如下:
#!/bin/sh
export set QTOPIA=/home/oneke/QT/build
#export QWS_DISPLAY="LinuxFb:mmWidth30:mmHeight40:0"
export set LD_LIBRARY_PATH=$QTOPIA/lib
export set PATH=$QTOPIA/bin
$QTOPIA/bin/qpe &