I am pretty sure that is not the case.
If libhdf5 is installed in default locations, such as /usr/lib64 it might
look like it. Have you tried playing with LD_LIBRARY_PATH to check that it
always take the same hdf5.so, such as you suggest it does.
2015-04-08 23:38 GMT+02:00 Saurabh T <saurabh@xxxxxxxxxxx>:
> 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.
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
--
Kind regards Nick