- To: brick <brickflying@xxxxxxxxx>
- Subject: Re: [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7
- From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
- Date: Thu, 22 Sep 2011 05:38:34 -0600
Howdy all! The --with-hdf5= parameter to configure is not the correct way to tell netCDF where the HDF5 library is. Instead, set environmental variables CPPFLAGS and LDFLAGS, like this: export CPPFLAGS=-I$PRO_PATH/Hdf5-1.8.7/include export LDFLAGS=-L$PRO_PATH/Hdf5-1.8.7/lib export LD_LIBRARY_PATH=$PRO_PATH/Hdf5-1.8.7/lib THen run configure. Don't forget to do a make distclean first. Good luck. Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
- Follow-Ups:
- References:
- [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7
- From: brick
- Re: [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7
- From: Cedric Roux
- Re: [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7
- From: brick
- [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7