Linux: 解决程序执行时无法加载动态库的问题 C/C++

错位类型 : error while loading shared libraries: libMytest.so: cannot open shared object file: No such file or directory   第一种:(临时生效) 执行命令:export LD_LIBRARY_PATH=动态库目录的绝对路径,这种设置只是临时生效,一旦终端关闭或者重启就失效了,一般用来测
相关文章
相关标签/搜索