Re: [netcdfgroup] Build shared library against HDF5 without rpath

  • To: Saurabh T <saurabh@xxxxxxxxxxx>
  • Subject: Re: [netcdfgroup] Build shared library against HDF5 without rpath
  • From: Nick Papior Andersen <nickpapior@xxxxxxxxx>
  • Date: Thu, 9 Apr 2015 08:03:55 +0200
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
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: