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

[netCDF #BOQ-220297]: problem with NetCDF perl module installation


> Thanks for the feedback.  Below you'll find the results of
> nm -g /home/amec/netcdf-perl-1.2.4/src/perl/blib/arch/auto/NetCDF/NetCDF.so

The nm(1) output contained

> U ncabort
> U ncattcopy
> U ncattdel

which indicates that the netCDF library wasn't incorporated into the 
netCDF-Perl perl(1) module.

> I'm not the most experienced Linux user, so let me ask you what must be a
> naive question.  Which file type exactly consistutes NetCDF's (or other
> libraries') library file--any of the .so, .a, .la files?

Names for shared-libraries have the form "libXXXXX.so.i.j", where "XXXXX" is 
the library name (e.g., "netcdf") and "i" and "j" are major and minor library 
numbers, respectively. Names for regular (i.e., non-sharable) libraries have 
the form "libXXXXX.a".

Set the environment variable LD_NETCDF to an ld(1) reference to the netCDF 
library (e.g., "-L/usr/local/lib -lnetcdf") and retry building the netCDF-Perl 
package. The configure(1) script should use that environment variable to 
reference the netCDF library.

> Or other files?  I
> assume the header file is a .h file.


> I've tried googling for this
> information, but it seems impossible to come up with search terms that drill
> down to the information I need.

I'm not sure all this information is collected in one place.

> Thanks,
> David Bryan

Steve Emmerson

Ticket Details
Ticket ID: BOQ-220297
Department: Support netCDF Perl
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.