天天看点

【Linux】cannot open shared object file: No such file or directory解决方法

问题:完整错误信息:

./mgw: error while loading shared libraries: libxxx.so: cannot open shared object file: No such file or directory

方法:直接在运行./mgw的.sh脚本中添加下面语句即可:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path
           

参考:

https://blog.csdn.net/qc530167365/article/details/91491851

继续阅读