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

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



Jonathan,

> That was is it!:
> 
> # export LD_LIBRARY_PATH=/usr/local/lib
> # make test
> make[1]: Entering directory `/root/netcdf-perl-1.2.4/src'
> 
> making `test' in directory /root/netcdf-perl-1.2.4/src/perl
> 
> make[2]: Entering directory `/root/netcdf-perl-1.2.4/src/perl'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Creating netCDF file...........................ok
> Setting fill mode..............................ok
> Defining scalar variable.......................ok
> Defining fixed dimensions......................ok
> Defining fixed variables.......................ok
> Writing global attribute.......................ok
> Writing variable attributes....................ok
> Defining record dimension......................ok
> Defining record variables......................ok
> Ending definition..............................ok
> Writing scalar variable value..................ok
> Writing fixed variable values..................ok
> Synchronizing netCDF I/O.......................ok
> Writing record values..........................ok
> Closing netCDF file............................ok
> Opening netCDF file for reading................ok
> Inquiring about netCDF file....................ok
> Checking global attribute name.................ok
> Checking global attribute value................ok
> Checking scalar variable.......................ok
> Getting second dimension ID....................ok
> Checking second dimension information..........ok
> Checking fixed variable ID.....................ok
> Checking fixed variable information............ok
> Checking last value of first record variable...ok
> Reading fixed variable values..................ok
> Reading fixed variable attributes..............ok
> Checking typelen().............................ok
> Checking number of record variables............ok
> Checking variable IDs..........................ok
> Checking variable sizes........................ok
> Reading values of record variables.............ok
> Closing netCDF file............................ok
> make[2]: Leaving directory `/root/netcdf-perl-1.2.4/src/perl'
> 
> returning to directory /root/netcdf-perl-1.2.4/src
> 
> make[1]: Leaving directory `/root/netcdf-perl-1.2.4/src'

Great!

I think some perl(1)s add a reference to the necessary shared-libraries for a 
module. Apparently, yours doesn't.

> the make install worked also... but the perl module looks no different;
> perhaps that's to be expected?:

Yes.

> # ll /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/NetCDF.pm
> -r--r--r-- 1 root root 1668 May 20  1997
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/NetCDF.pm
> 
> 
> thanks

You're welcome. Good luck.

> Jonathan

Regards,
Steve Emmerson

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