I am cross compiling my files to put in raspberry pi. tool chain from raspberry pi official site was downloaded. Then cross compiled in my ubuntu 64 system using arm-bcm2708-linux-gnueabi-gcc. But when I tried to use these cross compiled .so file in raspberry pi it shows an error as follows :
error while loading shared libraries: libtest.so: cannot open shared object file: No such file or directory
How this error can be resolved?
arm-bcm2708-linux-gnueabi是旧版本,您是否尝试过使用较新的交叉编译器,例如arm-rpi-4.9.3-linux-gnueabihf
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.