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.

Re: [netcdfgroup] [netcdf-hdf] configure: error: Can't find or link to the hdf5 high-level. Use --disable-netcdf-4, or see config.log for errors.

Good morning Syed,

When you built hdf5, did you enable the high-level libraries? The method is different depending on how you configured the build; with './configure', you would pass the '--enable-hl' flag at configure time. If you are using cmake, you would specify '-DHDF5_BUILD_HL_LIB=ON'.

If you look in /usr/local/lib/, you should see libraries starting with libhdf5_hl, in addition to those with the libhdf5 prefix. If they are not there, you will need to build the hdf5 libraries again, with the appropriate flags.

-Ward

On 12/11/12 9:39 PM, Syed Ahsan Ali Bokhari wrote:
i am trying to install netcdf-4.2.1.1 with netcdf4 support but the above mentioned error appears. I have already built hdf5 and its libraries are present iin /usr/local/lib.
I used the following command to configure.

CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --prefix=/usr/local


Please advice!

Ahsan





_______________________________________________
netcdf-hdf mailing list
netcdf-hdf@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: