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

Re: netCDF Perl Interface - Dynamic load fail



Stephen,

>Date: Thu, 5 Jan 2006 09:53:49 -0700 (MST)
>From: "Stephen Leroy" <address@hidden>
>Organization: Harvard University
>To: address@hidden
>Subject: netCDF Perl Interface - Dynamic load fail

The above message contained the following:

> Institution: Anderson Group, DEAS, Harvard University
> Package Version: 1.2.3
> Operating System: Linux/Portland Group
> Hardware Information: Rocks, dual-Xeon cluster
> Inquiry: I'm experiencing failure at the test stage of netcdf-perl. I've 
> attached the log files of the build process. I've also attached the log files 
> of  the 'pic' build of netcdf, version 3.6.0-p1.
[snip]

> making `test' in directory /home/leroy/Packages/netcdf-perl-1.2.3/src/perl
> 
> make[2]: Entering directory `/home/leroy/Packages/netcdf-perl-1.2.3/src/perl'
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
> 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/N
> etCDF/NetCDF.so: undefined symbol: __mth_i_kcmp at 
> /usr/lib/perl5/5.8.5/i386-lin
> ux-thread-multi/DynaLoader.pm line 230.
>  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 `/home/leroy/Packages/netcdf-perl-1.2.3/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory `/home/leroy/Packages/netcdf-perl-1.2.3/src'
> make: *** [test] Error 2

Because of the undefined symbol, I suspect that the compiler 
used to build the netCDF and NetCDF-Perl packages (/usr/bin/cc) is
incompatible with the compiler used to build the perl utility.

To investigate this, please send me the output from the command 

    perl -V

Regards,
Steve Emmerson