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.
>From: address@hidden (Mike Notaro) >Organization: SUNY Albany >Keywords: 199601242045.AA14821 netCDF Mike, >Hello. I am having some difficuly with netcdf. I am using a sunOS system >and a fortran compiler. When I run my data converting program that uses >the netcdf library, it states: > library -lnetcdf : not found. This says that the loader is not finding your netCDF library >I think my library was not set up properly. I did change the msoft.mk >file to OS2=1. When I type > make all >it says, > can't find "make.rules" > library: not found. The file msoft.mk is designed for MSDOS and OS/2 systems using the Microsoft C 6.0 and Fortran 5.1 compilers. Since you are on a Sun, you should not be attempting to use this file. >What should I do? Please refer to makefile that is in the distribution. >I just want to be able to run my data converting fortran >program which uses netcdf library subroutines but apparently the library >is not working. Hmm... The only time you will need a library is when you are building an executable. I assume that this is what you are trying to do. Is this correct? >Could you give me the commands that I must type to properly set up the >library and correct this problem? After I know exactly what you are trying to do, I can give you the help that you need. Tom Yoksas