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

[netCDFPerl #RAH-648927]: Installing netCDFPerl 1.2.4



Peter,

> I realised that LD_NETCDF was being reset by the    CUSTOMIZE file
> 
> I set LD_NETCDF='-L/usr/local/lib:/usr/local/HDF5/lib -lnetcdf
> -L/usr/local/HDF5/lib -lhdf5' in CUSTOMIZE
> 
> and ran ./configure   ;  make :   make test again
> 
> It looks like the HDF5 libs were found ( well partially) and  we have a new
> fault
> 
> The fault is below from the  make test output. (captured in maketest.log
> attached)
> 
> "Can't load 'blib/arch/auto/NetCDF/NetCDF.so' for module NetCDF:
> blib/arch/auto/NetCDF/NetCDF.so: undefined symbol: H5DSset_scale at
> /usr/lib/perl/5.10/DynaLoader.pm line 196."
> 
> I went looking for the symbol  H5DSset_scale and found it..

Excellent!

> I ran the command   nm -gA  /usr/local/HDF5/lib/* | grep H5DSset_scale
> 
> /usr/local/HDF5/lib/libhdf5_hl.a:H5DS.o:00000000 T H5DSset_scale
> nm: /usr/local/HDF5/lib/libhdf5_hl.la: File format not recognized
> /usr/local/HDF5/lib/libhdf5_hl.so:00004bec T H5DSset_scale
> /usr/local/HDF5/lib/libhdf5_hl.so.6:00004bec T H5DSset_scale
> /usr/local/HDF5/lib/libhdf5_hl.so.6.0.3:00004bec T H5DSset_scale
> nm: /usr/local/HDF5/lib/libhdf5.la: File format not recognized
> nm: /usr/local/HDF5/lib/libhdf5.settings: File format not recognized
> 
> It looks like the symbol is there but I am a little lost again. Where to
> next?

Do exactly the same steps as before, only add a reference to the additional 
HDF5 library ("hdf5_hl") to the LD_NETCDF environment variable, e.g.,

    export LD_NETCDF="-L/usr/local/lib -lnetcdf -L/usr/local/HDF5/lib -lhdf5 
-lhdf5_hl"

> Attached are  the following files CUSTOMIZE, config.status,  configure.log,
> make.log, maketest.log
> 
> thanks for your help so far.

No Worries.

> Peter

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: RAH-648927
Department: Support netCDF Perl
Priority: Normal
Status: Closed