1、Linux-C动态库与静态库的编译与调用
2、linux 缺少动态连接库.so--cannot open shared object file: No such file or directory
linux 缺少动态连接库.so--cannot open shared object file: No such file or directory - youxin - 博客园
方法二生效;或者 将生成的库文件,拷贝到 /usr/lib目录生效; (拷贝到 /usr/local/lib 目录、设置 /etc/ld.so.conf 文件均未生效)
本文介绍在Linux环境下如何编译与调用动态库与静态库,并解决因缺少动态库.so导致的错误问题。提供了两种有效解决方案:一是通过特定方法使动态库生效;二是将动态库文件复制到/usr/lib目录。
864

被折叠的 条评论
为什么被折叠?



