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

[netCDFPerl #CZI-200112]: make error(netCDF Perl)



KiChul,

> I am attaching the new log files.

You're "make.log" file contained this:

> gcc  -shared NetCDF.o  -o blib/arch/auto/NetCDF/NetCDF.so   
> -L/home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib -lnetcdf   
> /usr/bin/ld: 
> /home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib/libnetcdf.a(putget.o):
>  relocation R_X86_64_32S against `a local symbol' can not be used when making 
> a shared object; recompile with -fPIC
/home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib/libnetcdf.a: could 
not read symbols: Bad value
> collect2: ld returned 1 exit status

Your netCDF library was, apparently, not compiled in a way that makes it 
available as a loadable module.  It will have to be recompiled and reinstalled 
using the "-fPIC" option in the CFLAGS environment variable.  Once that is 
done, you should be able to build the netCDF-Perl package.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: CZI-200112
Department: Support netCDF Perl
Priority: Normal
Status: Closed