GDAL related problems: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (moved Gdal probs to GDAL related problems) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
''' | '''Question''' | ||
error | 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 | ||
'''Answer''' | |||
This happens, when GDAL isn't installed properly. Possible solutions: | |||
* 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 | * Check if the directory which contains your libgdal is listed in your <code>/etc/ld.so.config</code>. If not, add the directory with a text editor to the file and run <code>ldconfig</code> as root. | ||
* Check if the | * Check if the right version of <code>libgdal</code> is installed. If there's a newer version, you can just create a symbolic link to the new version, e.g. | ||
ln -s YOURINSTALLEDlibgdal.so.XXXX libgdal.so.1 | |||
[[Category:FAQ]] | [[Category:FAQ]] |
Latest revision as of 15:58, 5 February 2013
Question
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
Answer
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 text editor to the file and runldconfig
as root. - Check if the right version of
libgdal
is installed. If there's a newer version, you can just create a symbolic link to the new version, e.g.
ln -s YOURINSTALLEDlibgdal.so.XXXX libgdal.so.1