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.
Hi Marko, > I seem to have problems getting through the configure stage. > > When using additional options ( --with-PACKAGE=) the final error is > 'h5ef_libver_18' undeclared. > But as i've read from the archives, that way i deprecated. > > When specifying CPPFLAGS/LDFLAGS, it can't link to the szlib library > (probably to neither of them) > > Is the following way of declaring them correct?: > > export CPPFLAGS="-I/home/szip-2.1/include -I/home/hdf5-1.8.10/hdf5/include > -I/marko/zlib-1.2.7/include" > export LDFLAGS="-lhdf5 -lhdf5_hl -lz -lsz -L/home/szip-2.1/lib > -L/home/hdf5-1.8.10/hdf5/lib/ -L/home/zlib-1.2.7/lib" Try changing the order of the LDFLAGS, because the "-lfoo" has to come after the "-L/where/foo/is/installed" part. Specifically, try this: LDFLAGS="-L/home/hdf5-1.8.10/hdf5/lib/ -L/home/szip-2.1/lib -L/home/zlib-1.2.7/lib -lhdf5 -lhdf5_hl -lz -lsz" --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: HDU-140030 Department: Support netCDF Priority: Normal Status: Closed