This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Greetings Birgit, I think that what you are seeing is that netCDF cannot find your HDF5 library. Try specifying the path to the HDF5 and zlib libraries using the CPPFLAGS and LDFLAGS variables when you run configure, like so (note that we no longer use the --with-zlib, or other --with-* flags with configure - it's all done through the CPPFLAGS and LDFLAGS): CPPFLAGS="-I/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/include -I/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/include" LDFLAGS="-L/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/lib -L/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/lib" ./configure --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/netcdf-4.1.3 --enable-netcdf4 --enable-large-file-tests Also, be sure to run make disclean before rerunning configure. Please let me know if this work for you! Cheers, Sean > Dear Ladies and Gentlemen, > > i am a student in German Aerospace Centre. I tried to install netcdf > with hdf5 and zlib, but it doesn't work and i have no idea, what to > do. The installing process of netcdf fails. > > My operation system is SUSE in version 11.2. > > > In the following i describe, what i have done: > Download zlib-1.2.5 > Download hdf5-1.8.8 > Download netcdf-4.1.3 > > The extracted directorys are in "/home/learjet/doel_bi/local/". > The installation of all should be in > "/home/learjet/doel_bi/local/netcdfWithHdf5". > > ################################################## > In /home/learjet/doel_bi/local/zlib-1.2.5 > ################################################## > ./configure > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5 > make > make install > ################################################## > In /home/learjet/doel_bi/local/hdf5-1.8.8 > ################################################## > ./configure > --with-zlib=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5 > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8 > make > make install > > Then i exported the LD_LIBRARY_PATH: > export > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/lib > export > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/lib > > ################################################## > In /home/learjet/doel_bi/local/netcdf-4.1.3 > ################################################## > ./configure > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/netcdf-4.1.3 > --enable-netcdf4 > --with-zlib=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5 > --enable-large-file-tests > > While running the Makefile this error message appears: > nc4file.c: In function 'nc4_create_file': > nc4file.c:272: error: 'H5F_LIBVER_18' undeclared (first use in this function) > nc4file.c:272: error: (Each undeclared identifier is reported only once > nc4file.c:272: error: for each function it appears in.) > make[2]: *** [libnetcdf4_la-nc4file.lo] Error 1 > > What i have to do, to run the Makefile successfully? > Thanks for your help. > > Yours sincerely, > Birgit Dölle > > Ticket Details =================== Ticket ID: GOJ-472807 Department: Support netCDF Priority: Normal Status: Open