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.
Greetings Rushat, The make file you sent seems to be ok. Did you try running make check to see if it built correctly? Sean > Never mind just found it. But I still have the same issues with netcdf. > > Sincerely, > Rushat > > On Wed, Jan 4, 2012 at 11:36 AM, Rushat Shatur <address@hidden> wrote: > > > Hi Sean, > > > > I had another issue. Where do I find libnetcdf.a in netcdf-4.1.3 folder. > > greping for it does not give me anything. > > > > Thanks, > > Rushat > > > > > > On Tue, Jan 3, 2012 at 9:48 PM, Rushat Shatur <address@hidden>wrote: > > > >> Hi Sean, > >> > >> I ran the scripts as you suggested and attached are the make.log and > >> configure.log (for a good measure) for your perusal. BTW, I used the > >> following flags while configuring: > >> > >> sudo ./configure --disable-netcdf-4 --disable-f90 > >> --disable-fortran-type-check > >> > >> Hope this is what you wanted. > >> > >> Sincerely, > >> Rushat > >> > >> > >> address@hidden> wrote: > >> > >>> Greetings Rushat, > >>> > >>> Let's try the following. First, go to the netCDF directory and execute > >>> > >>> make clean > >>> > >>> Then, set the following flags: > >>> > >>> export FC=/usr/bin/g95 > >>> export F77='' > >>> > >>> > >>> Then, rerun the configure script and try make again. As for the make > >>> command, did it create a make.log file? The command 'make > make.log' > >>> should dump the make output to the file, although if there is an error it > >>> will print it to the screen. > >>> > >>> Thanks! > >>> > >>> Sean > >>> > >>> > Hi Sean, > >>> > > >>> > Please find the attached config.log file. However, when I invoke make > > >>> > make.log, I get the following error > >>> > > >>> > > >>> > g95: libnetcdff.so.5: No such file or directory > >>> > g95: unrecognized option '-soname' > >>> > make[3]: *** [libnetcdff.la] Error 1 > >>> > make[2]: *** [all] Error 2 > >>> > make[1]: *** [all-recursive] Error 1 > >>> > make: *** [all] Error 2 > >>> > > >>> > Thanks, > >>> > Rushat > >>> > > >>> > address@hidden> wrote: > >>> > > >>> > > Greetings Rushat, > >>> > > > >>> > > Would you mind sending your configure and full make logs? The > >>> configure > >>> > > log should be the the top level of your netCDF directory > >>> (config.log), and > >>> > > to obtain a make log, use: > >>> > > > >>> > > make > make.log > >>> > > > >>> > > Thanks! > >>> > > > >>> > > Sean > >>> > > > >>> > > > Hi there, > >>> > > > > >>> > > > I am trying to install netcdf (version 4.1.3). The config script > >>> ran > >>> > > > without errors (after addition of some flags viz > >>> "--disable-netcdf-4 > >>> > > > --disable-f90 --disable-fortran-type-check"). But when I tried > >>> running > >>> > > make > >>> > > > or for that matter make check install, the build exited with the > >>> > > following > >>> > > > error: > >>> > > > > >>> > > > g95: libnetcdff.so.5: No such file or directory > >>> > > > g95: unrecognized option '-soname' > >>> > > > make[2]: *** [libnetcdff.la] Error 1 > >>> > > > make[2]: Leaving directory `/usr/local/netcdf-4.1.3/fortran' > >>> > > > make[1]: *** [check] Error 2 > >>> > > > make[1]: Leaving directory `/usr/local/netcdf-4.1.3/fortran' > >>> > > > make: *** [check-recursive] Error 1 > >>> > > > > >>> > > > I am running gcc version 4.5.0 20100604 [gcc-4_5-branch revision > >>> 160292] > >>> > > > (SUSE Linux). > >>> > > > > >>> > > > Thanks in advance, > >>> > > > Rushat > >>> > > > > >>> > > > > >>> > > > >>> > > > >>> > > Ticket Details > >>> > > =================== > >>> > > Ticket ID: WZW-146942 > >>> > > Department: Support netCDF > >>> > > Priority: Normal > >>> > > Status: Open > >>> > > > >>> > > > >>> > > >>> > > >>> > >>> > >>> Ticket Details > >>> =================== > >>> Ticket ID: WZW-146942 > >>> Department: Support netCDF > >>> Priority: Normal > >>> Status: Open > >>> > >>> > >> > > > > Ticket Details =================== Ticket ID: WZW-146942 Department: Support netCDF Priority: Normal Status: Open