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.
Neil, >Date: Mon, 19 Apr 2004 16:52:56 -0600 >From: Neil Doane <address@hidden> >Organization: National Oceanic and Atmospheric Administration >To: address@hidden >Subject: netcdf perl module issues: Sorry, the support page interface seems >broken The above message contained the following: > Sorry, the support page interface seems broken. What URL did you use? > I am having the > following error when I try to use the NetCDF perl modules under Red Hat > Enterprise Linux 3. > > --- > [root@testkick src]# make test > make[1]: Entering directory `/tmp/netcdf-perl-1.2.2/src' > > making `test' in directory /tmp/netcdf-perl-1.2.2/src/perl > > make[2]: Entering directory `/tmp/netcdf-perl-1.2.2/src/perl' > PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl > Can't load 'blib/arch/auto/NetCDF/NetCDF.so' for module NetCDF: > blib/arch/auto/NetCDF/NetCDF.so: undefined symbol: ncopts at > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. > at test.pl line 5 > Compilation failed in require at test.pl line 5. > BEGIN failed--compilation aborted at test.pl line 5. > make[2]: *** [test_dynamic] Error 255 > make[2]: Leaving directory `/tmp/netcdf-perl-1.2.2/src/perl' > make[1]: *** [perl/test] Error 1 > make[1]: Leaving directory `/tmp/netcdf-perl-1.2.2/src' > make: *** [test] Error 2 > --- > > This happens any time I try to use this module. Do you have any idea > what could be going wrong here? Several things could cause the above problem: 1. The netCDF library wasn't built using the same compiler that built the perl(1) utility. 2. The netCDF library wasn't built using position-independent code. 3. The netCDF library was built improperly and doesn't contain the "ncopts" symbol. 4. An incorrect reference to the netCDF library was made in the previous "make" steps. Would you please send me the file "make.log" from the previous "make" steve. > Neil Doane > Systems Admin > NOAA - Forecast Systems Labs - Aviation Division Regards, Steve Emmerson