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

[netCDFPerl #DPK-277567]: netcdf-perl and netCDF 4



Jonathan,

> After downloading and successfully building/installing:
> 
> zlib-1.2.6
> hdf5-1.8.8
> netcdf-4.2  (netcdf library version 4.2 of Mar 27 2012 14:46:42 $)
> 
> Our user  (Andy Loughe) was still seeing the large, varying file IDs while
> running his script that utilizes netcdf-perl (as referenced in the ticket
> he submitted, ie the subject line).  We determined that
> re-compiling/building netcdf-perl was the next step in trying to correct
> that issue. Unfortunately, I have run into issues doing the
> re-compile/build. I would appreciate some input in rectifying!
> 
> thanks!
> Jonathan
> Jonathan.B.Auerbach
> Systems Administrator
> NOAA/ESRL/GSD/ACE
> 
> 
> Per the INSTALL file, here are the requested "support" items (it dies at *make
> test*):
> 
> A. Linux booboo 2.6.18-274.17.1.el5xen #1 SMP Wed Jan 4 23:05:19 EST 2012
> x86_64 x86_64 x86_64 GNU/Linux
> 
> B. VERSION = 1.2.4
> 
> C. /usr/bin/cc
> 
> D. [@booboo src]# cat configure.log
> creating cache ./config.cache
> checking for manual-page index command...
> checking for perl... perl
> checking for perl manual page directory... /usr/share/man
> checking for value of perl POLLUTE variable... 0
> checking for neqn... neqn
> checking for tbl... tbl
> checking for c89... c89
> checking type of operating system... linux
> checking for tar flags... -chof
> checking for netCDF header-file... -I/usr/local/include
> checking for netCDF library... -L/usr/local/lib -lnetcdf -L/usr/local/lib
> -lhdf5 -lhdf5_hl
> checking for package version... 1.2
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating perl/Makefile.PL
> creating port/master.mk
> creating port/Makefile
> expanding `include's in file `Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'

The output of the "make test" command contained this:

> making `test' in directory /root/netcdf-perl-1.2.4/src/perl
> 
> make[2]: Entering directory `/root/netcdf-perl-1.2.4/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:
> libhdf5.so.6: cannot open shared object file: No such file or directory at
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> at test.pl line 5

Does the file "/usr/local/lib/libhdf5.so.6" exist? If not, then you'll have to 
set the environment variable LD_NETCDF to reference it (as well as the netCDF 
library) and rebuild the netCDF-Perl package after executing a "make distclean".

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: DPK-277567
Department: Support netCDF Perl
Priority: High
Status: Closed