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

20040726: Trouble installing netcdf-perl



Stephen,

> To: address@hidden
> From: Stephen Leroy <address@hidden>
> Subject: Trouble installing netcdf-perl
> Organization: Harvard University
> Keywords: 200407261503.i6QF3iaW011602 netCDF-perl install

The above message contained the following:

> Please see attached perl archive with all requested files.
> 
> Thank you in advance for your attention,
> Stephen Leroy
...

Your "test.log" file

    make[1]: Entering directory `/home/leroy/Packages/netcdf-perl-1.2.3/src'

    making `test' in directory /home/leroy/Packages/netcdf-perl/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: 
/home/leroy/Pack
    ages/netcdf/lib/libnetcdf.so: ELF file's phentsize not the expected size at 
/usr
    /lib/perl5/5.8.0/i586-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 `/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

indicates that the compilation model for the netCDF-Perl module is
inconsistent with the compilation model that was used to compile the
netCDF library (/home/leroy/Packages/netcdf/lib/libnetcdf.so).  In
general, the same compilation model must be used for the perl(1)
installation, the netCDF library, and the netCDF-Perl extention module.
Reconciling the differences between these models is beyond the scope
of the netCDF-Perl package and must be done by the person doing the
installation.

Information on the compilation model used to build the netCDF package
can be found in the file "make.log" in the top-level source-directory
of the netCDF package.  See what compiler was used and with what options.

The compilation model used in attempting to build the netCDF-Perl module 
is given by your "make.log" file:

    cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

I suspect that the above is inconsistent with the compilation module used
to build the netCDF library.

Information on the compilation model used to build the perl(1) utility
can be obtained via the command

    perl -V

I you can get me information on the various compilation models, I might
be able to help you.

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.