- 错误:gdalinfo: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No such file or directory
- 原因:gdalinfo程序找不到依赖的库,所以报错
- 解决:将依赖的动态库和静态库添加到LD_LIBRARY_PATH环境变量中去。
sudo vim /etc/profile export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
source /etc/profile