[其他] 解决cannot open shared object file: No such file or directory
Windows 下 exe 和动态库再同级目录下时可以自动搜索到动态库;Linux 下 可执行程序不会搜索同级目录,因此需要单独设置。参考:解决cannot open shared object file: No such file or directory_sssss-spring-CSDN博客一、linux下调用动态库.so文件时提示:cannot open shared object file: No such file or directory解决办法:1、此时ldd xxx查看依赖缺少
复制链接