John Cartwright wrote:
Hello All,
I'm trying to compile in hdf5 support by specifying
"--with-hdf5=/usr/local/contrib" to the configure script. The hdf 5
libraries are located in /usr/local/contrib/lib. However, configure
tells me:
configure: error: HDF5 support requested with arg /usr/local/contrib,
but no hdf5 lib found
I've tried both "--with-hdf5=/usr/local/contrib" and
"--with-hdf5=/usr/local/contrib/lib" w/o success. /usr/local/contrib
John,
Search your config.log file for stuff about hdf5. In my case where it
worked I see something like:
configure:23094: checking for H5Fopen in -lhdf5
configure:23129: gcc -o conftest -fPIC -g -DDEBUG -L/wrk/home/warmerda/gdal
-L/wrk/home/warmerda/bld/lib conftest.c -lhdf5 -lhdf5 -L/usr/lib
-L/wrk/home/warmerda/pkg/HDF4.2r1/NewHDF/lib -lmfhdf -ldf
-L/wrk/home/warmerda/bld/lib -lgeotiff -L/wrk/home/warmerda/bld/lib -ltiff
-lnetcdf -lpq -L/media/hda1/usr/local/pgsql/lib -lpq -lpthread -lm -lrt -ldl
-lhdf5 >&5
configure:23135: $? = 0
configure:23153: result: yes
Often you will see clues to why the test link failed. I used
--with-hdf5=/usr for stuff in /usr/lib.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev