[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 <address@hidden>.

> 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