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, From the config.log you generated, I see: ```` configure:22356: checking size of off_t configure:22361: gcc -o conftest -g -O2 -I/usr/local/netcdf-4.3.3.1/include -L/usr/local/netcdf-4.3.3.1/lib conftest.c -lnetcdf >&5 configure:22361: $? = 0 configure:22361: ./conftest ./conftest: error while loading shared libraries: libnetcdf.so.7: cannot open shared object file: No such file or directory configure:22361: $? = 127 ```` This suggests that the file `libnetcdf.so.7` is not present in `/usr/local/netcdf-4.3.3.1/lib`, or that you do not have read/execute access for it. Can you confirm that it exists and that you have the permissions to access it? -Ward > dear unidata_support > > I'm trying to installing the netcdf-fortran-4.4.2 toour linux machine. > I have already installed hdf5, netcdf-4.3.3.1. > Then, I typed > > ./configure --disable-f03 --disable-f03-compiler-check > CPPFLAGS="-I/usr/local/netcdf-4.3.3.1/include" > LDFLAGS="-L/usr/local/netcdf-4.3.3.1/lib" --prefix=/usr/local/netcdf-4.4.2 > > and I received the message "compile error cannot compute sizeof (off_t)". > I investigated Q&A of unidata. > However, I could not catch the answer. > Let me know how to do, please. > I send you config.log with this e-mail. > > Sincerely, > > Dept. of Environmental and Engineering Science > Gunma University > Associate Professor Ken-ichi UZAKI > > 376-8515 1-5-1 Tenjin-cho, Kiryu City, Gunma Pref. > Tel.+81-277-30-1643 Fax.+81-277-30-1601 > > Ticket Details =================== Ticket ID: NBD-744549 Department: Support netCDF Priority: Normal Status: Closed