[ELGIS] Error when installing the GDAL library

Lars-Gunnar Persson lars-gunnar.persson at nersc.no
Tue Feb 26 07:59:41 PST 2013


I tried to install gdal from your repository on an CentOS 6.3 host but got this error:

# gdalinfo
gdalinfo: error while loading shared libraries: libhdf5.so.6: cannot open shared object file: No such file or directory

I also enabled the testing repo but got the same result.

It looks like hdf5 is newer in epel and the gdal needs updating.

I did the following:

ln -s libhdf5.so.7 libhdf5.so.6
ln -s libhdf5_hl.so.7 libhdf5_hl.so.6

and the error went away.

Will this work or will gdal be updated?

Lars-Gunnar Persson
System Administrator

Nansen Environmental and Remote Sensing Center
E-MAIL: lars-gunnar.persson at nersc.no, WEB: http://www.nersc.no
PHONE: +47 55 20 58 00, SKYPE ID: larsgunnarpersson
ADDRESS: Thormøhlens gate 47, 5006 Bergen, Norway

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/el/attachments/20130226/c46bd5f5/attachment.html>


More information about the el mailing list