1 Answer
1

You'll want to check that /etc/ld.so.conf has a referencence to the path /usr/lib64/mpich2/lib. If you add the path to ldo.so.conf, make sure to run ldconfig. You can then see what is in the ld cache using "ldconfig -p".

/etc/ld.so.conf had include ld.so.conf.d/*.conf one of the file was /etc/ld.so.conf.d/atlas-x8664.conf which contained /usr/lib64/atlas. A ldconfig -p | grep libhdf5 did not return anything. So I created a file gdal.conf and added the path /usr/lib64/mpich2/lib. Ran ldconfig. Now, ldconfig -p | grep libhdf5 had the paths to llibhdf5 files. After doing this, postgis raster suppot installation went smoothly. Thanks you for the input.
–
ThinkingMonkeyAug 9 '12 at 19:27