> Hi! > > I have two installations of HDF5 on my Linux system. One is in /usr and the > other > is in a custom location. I wanted to build NetCDF as a shared library , linked > against that one in the custom location. Using --with-hdf=my_custom_location > built the libraray without problems but 'make check' already showed some > errors. > I found that the HDF5 headers from my custom location were correctly used, but > the library and the programs were linked against the HDF5 lib in /usr, which > caused the programs to crash. > Specifying, additionally, LDFLAGS='-Lmy_custom_location' solved the problem > for > me but others might be interested in a fix. > > Thanks and best regards! > Sebastian Thanks! Due in part to problems like these, I am taking away the --with-hdf5 option to configure. Users will specify their own locations in flags, and my configure script won't mess with them. Ed Ticket Details =================== Ticket ID: MUR-833037 Department: Support netCDF Priority: Critical Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.