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.
> > Hello, > I would like to install GMT in my laptop, but it gives me this error. > Can you see what is wrong and advise me what I should do? > > > Making check in libsrc > make[1]: Entering directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make check-am > make[2]: Entering directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make t_nc > make[3]: Entering directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make[3]: `t_nc' is up to date. > make[3]: Leaving directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make check-TESTS > make[3]: Entering directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > /usr/local/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 `/usr/local/gmt/netcdf-3.6.3/libsrc' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/usr/local/gmt/netcdf-3.6.3/libsrc' > make: *** [check-recursive] Error 1 > > > Thanks, > > Jacques > > > > > I don't know what GMT is. But the problem you are seeing could be solved by setting LD_LIBRARY_PATH to the directory you installed netCDF in. This is a shared library problem, not a netCDF problem. Possibly you should talk to your sysadmin about this. Good luck! Ed Ticket Details =================== Ticket ID: DEX-877628 Department: Support netCDF Priority: High Status: Closed