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.

[netcdfgroup] Build shared library against HDF5 without rpath

I wish to build the netcdf shared library against an existing shared hdf5 
library, but not use rpath. Essentially, ldd libnetcdf.so should show 
libhdf5.so => not found (when libhdf5.so was obtained from an atypical 
location). It appears that LDFLAGS is rpath'd into libnetcdf.so, which is 
exactly what I do not want. How can I manage this? Thank you.