# ldd testdemo
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libpthread.so.0 => not found (0x00000000)
libjli.so => not found (0x00000000)
libdl.so.2 => not found (0x00000000)
libc.so.6 => not found (0x00000000)
/lib/ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3 (0x00000000)
求大神。。。
离线
缺少库啊,根文件没做好
从其他v3s文件系统copy进你的试试?
或者将交叉编译的对应so copy到你的文件系统
离线
root@changl:~/buildroot-2019.11-rc2# find . -name "libpthread.so*"
root@changl:~/buildroot-2019.11-rc2# find . -name "libc.so*"
./output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/lib/libc.so.1
./output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/lib/libc.so.0
./output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libc.so
./output/target/lib/libc.so.1
./output/target/lib/libc.so.0
./output/build/uclibc-1.0.32/lib/libc.so.1
./output/build/uclibc-1.0.32/lib/libc.so.0
./output/build/uclibc-1.0.32/lib/libc.so
root@changl:~/buildroot-2019.11-rc2# find . -name "libdl.so*"
root@changl:~/buildroot-2019.11-rc2#
找不到
离线