Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040420: netcdf perl module issues: missing ncopts



Neil,

>Date: Mon, 19 Apr 2004 16:52:56 -0600
>From: Neil Doane <Neil.Doane@xxxxxxxx>
>Organization: National Oceanic and Atmospheric Administration
>To: emmerson@xxxxxxxx
>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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690