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, > > install the netcdf package during gmt installation stops > with the following error: > > --------------------------------------------------------------------- > make check-TESTS > make[3]: Entering directory `/Seislab/gmt/netcdf-3.6.3/libsrc' > /Seislab/gmt/netcdf-3.6.3/libsrc/.libs/t_nc: error while loading shared > libraries: libnetcdf.so.4: cannot open shared object file: No such file or > directory > FAIL: t_nc > ========================================= > 1 of 1 tests failed > Please report to address@hidden > ========================================= > make[3]: *** [check-TESTS] Error 1 > make[3]: Leaving directory `/Seislab/gmt/netcdf-3.6.3/libsrc' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/Seislab/gmt/netcdf-3.6.3/libsrc' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/Seislab/gmt/netcdf-3.6.3/libsrc' > make: *** [check-recursive] Error 1 > > ---------------------------------------------------------------------- > > The last successful running gmt, netcdf versions are 4.2.0, 3.6.2. > The used GMTparam file and the installation log file were attached. > > How the error can be fixed? > > Best regards, > > Cyrill > Howdy Cyrill! This does not appear to be a netcdf problem. This is a shared library problem. Try setting LD_LIBRARY_PATH to the directory that contains the netCDF library. Thanks, Ed Ticket Details =================== Ticket ID: SCS-409748 Department: Support netCDF Priority: Critical Status: Closed