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

20040727:Problem with installing NetCDF-PERL



Don,

> To: address@hidden
> cc: address@hidden
> From: Don Hooper <address@hidden>
> Subject: 20040726: Problem with installing NetCDF-PERL
> Organization: UCAR/Unidata
> Keywords: 200407272156.i6RLu2aW003922

The above message contained the following:

> Thanks for the advice on the POLLUTE environment variable, but it didn't
> change the end result.

Then let's investigate the problem starting from scratch.  The problem
is that the netCDF symbol "ncopts" can't be found:

    making `test' in directory /data/hoop/PERL/netcdf-perl-1.2.3/src/perl

    make[2]: Entering directory `/data/hoop/PERL/netcdf-perl-1.2.3/src/perl'
    cp NetCDF.pm blib/lib/NetCDF.pm
    AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
    make[2]: Warning: File `blib/arch/auto/NetCDF/NetCDF.so' has modification 
time 8.7 s in the future
    PERL_DL_NONLAZY=1 /home/www/data/hoop/bin/perl "-Iblib/lib" "-Iblib/arch" 
test.pl
    Can't load 'blib/arch/auto/NetCDF/NetCDF.so' for module NetCDF: ld.so.1: 
/home/www/data/hoop/bin/perl: fatal: relocation error: file 
blib/arch/auto/NetCDF/NetCDF.so: symbol ncopts: referenced symbol not found at 
/home/www/data/hoop/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230.
     at test.pl line 5

This symbol should be defined in the netCDF-Perl extension module.  To
see if it is, please send me the output from the following command

    nm -g 
/data/hoop/PERL/netcdf-perl-1.2.3/src/perl/blib/arch/auto/NetCDF/NetCDF.so | 
grep ncopts

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.