项目场景:
成功搭建Linux、安装所需依赖库、安装WPS和WRF后。进行实例模拟。
问题描述
./ungrib.exe运行时报错找不到libpng16.so.16
错误内容如下:
./ungrib.exe: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
解决方案:
sudo vim /etc/ld.so.conf
添加语句:/home/tian/Software/libpng-intel/lib
sudo ldconfig
再去./ungrib.exe即可成功运行