NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Ed, Can I ask why the option exists if it shouldn't be used? Is it going to go away in the future or will it be fixed. I have used --with-FOO in preference to setting the environment under the assumption that it is more robust and I think that's a reasonable assumption. Thanks, Stephen. --- Stephen Pascoe +44 (0)1235 445980 Centre of Environmental Data Archival STFC Rutherford Appleton Laboratory, Harwell Oxford, Didcot OX11 0QX, UK -----Original Message----- From: netcdfgroup-bounces@xxxxxxxxxxxxxxxx [mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Ed Hartnett Sent: 22 September 2011 12:39 To: brick Cc: netcdfgroup@xxxxxxxxxxxxxxxx Subject: Re: [netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7 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 _______________________________________________ netcdfgroup mailing list netcdfgroup@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/ -- Scanned by iCritical.
netcdfgroup
archives: