GDAL related problems: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
 
m (spelling fix)
Line 8: Line 8:
* Check if GDAL is installed (locate gdal). If not, install GDAL.
* Check if GDAL is installed (locate gdal). If not, install GDAL.
* Check if the directory which contains your libgdal is listed in your /etc/ld.so.config. If not, add the directory with a texteditor to the file and run ldconfig as root.
* Check if the directory which contains your libgdal is listed in your /etc/ld.so.config. If not, add the directory with a texteditor to the file and run ldconfig as root.
* Check if the rigth version of libgdal is installed. If there's a newer version, you can just create a symlink to new version (ln -s YOURINSTALLEDlibgdal.so.XXXX libgdal.so.1).
* Check if the right version of libgdal is installed. If there's a newer version, you can just create a symlink to new version (ln -s YOURINSTALLEDlibgdal.so.XXXX libgdal.so.1).


[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 07:11, 13 February 2012

Q: I got an error message like this one:

error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory

A: This happens, when GDAL isn't installed properly.

Possible solutions:

  • Check if GDAL is installed (locate gdal). If not, install GDAL.
  • Check if the directory which contains your libgdal is listed in your /etc/ld.so.config. If not, add the directory with a texteditor to the file and run ldconfig as root.
  • Check if the right version of libgdal is installed. If there's a newer version, you can just create a symlink to new version (ln -s YOURINSTALLEDlibgdal.so.XXXX libgdal.so.1).