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]

[netCDFPerl #JOQ-768263]: 'make test' failing on 'libnetcdf.so.4'



Sean,

> I got the make.log file from NetCDF as you instructed. Searching through
> it did not yield any '-m64' tags. So I suppose my NetCDF was compiled in
> 32-bit mode?

Yes.  Your netCDF library was compiled in 32-bit mode.

> Looking through the NetCDF installtion instructions
> provided by Unidata, I do not see how to compile NetCDF in 64-bit mode.
> I am not very familiar with linux so I have no idea how to configure the
> src to compile in 64-bit mode.

I *think* that the following will build the netCDF package in 64-bit mode:

    make distclean
    export CFLAGS=-m64
    make

but I don't know for certain.  You might inquire of <support-netcdf@xxxxxxxxxxxxxxxx>.

> Also, I suppose you got the information that my Perl was built in 64-bit
> mode from the 'perl -V' output?

Yes.  The command "perl -V" can be very informative.  The main thing
is that modes of the perl utility and the shared library must be the
same.

> I found a '-m64' tag in there but my
> home computer did not have a '-m64' tag when I typed 'perl -V', and the
> whole NetCDF and netcdf-perl packages installed fine on my home computer.

It appears that both perl and the netCDF package on your home computer
are in 32-bit mode.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JOQ-768263
Department: Support netCDF Perl
Priority: Normal
Status: Closed


 
 
  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