今天从android系统下拷贝出来libisp_silicomimageisp_api.so,然后想利用它来测试开发linux下的camera,但尝试以后,发现总是提示:
error while loading shared libraries: libisp_silicomimageisp_api.so: cannot open shared object file: No such file or directory
但事实是这个库和其他的库同时放在相同的路径下,而且路径已经设置,不存在问题。
于是我使用ldd来查看情况:
libisp_silicomimageisp_api.so => not found
libbinder.so => not found
libc.so => not found
libdl.so => /usr/lib/arm-linux-gnueabihf/libdl.so (0xb5960000)
libcutils.so => not found
libion.so => not found
libstdc++.so => not found
libstlport.so => not found
libutils.so => not found
liblog.so => not found
libbacktrace.so => not found
libgccdemangle.so => not found
libunwind.so => not found
libunwind-ptrace.so => not found
但事实是这些库我都从android文件系统下/system/lib/下拷贝出来的。
然后我使用ldd命令单独查看libisp_silicomimageisp_api.so
显示结果为:
root@firefly:/work/app/lib# ldd libisp_silicomimageisp_api_32bit.so
not a dynamic executable