编译好arm下的Qt4.8.0的库,并将/bin/qt4以及/etc/profile目录修改
执行我的Qt程序,终端输出如下信息:
./test1: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /opt/qt-4.8.0/lib/libQtGui.so.4)
./test1: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /opt/qt-4.8.0/lib/libQtCore.so.4)
查看了下/lib/libc.so.6,它是一个软连接,指向libc-2.8.so。我下载了一个libc-2.9.so到板子上,并将libc.so.6连接到libc-2.9.so。
可是执行应用程序输出如下信息:
./test1: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
而且板子一段时间后就复位,估计是看门狗的原因。
/bin/qt4: line 32: syntax error: unexpected "else"
EmbedSky_wdg: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
usbcore: registered new interface driver rt73usb
zd1211rw usb_init()
usbcore: registered new interface driver zd1211rw
zd1211rw initialized
Try to bring eth0 interface up ...
led-player: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
ifconfig eth0 hw ether 10:23:45:67:89:ab
eth0: link down
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
/sbin/boa: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory