David, > I ran into trouble when trying to build the perl netcdf module on our > system. The attached tar file contains the files requested in your > INSTALL instructions. > > shell variables: > export CPP_NETCDF=/usr/include/netcdf-3 > export PERL_MANDIR=/usr/share/man > export LD_NETCDF="-lnetcdf" > > Thanks in advance for your help, > David Brunkow > CSU-CHILL Radar Facility > > > address@hidden src]# ls /usr/lib64/libnetcdf* > /usr/lib64/libnetcdf.a /usr/lib64/libnetcdf_c++.so > /usr/lib64/libnetcdf_c++.so.4.0.0 /usr/lib64/libnetcdff.so > /usr/lib64/libnetcdff.so.4.0.0 /usr/lib64/libnetcdf.so.4 > /usr/lib64/libnetcdf_c++.a /usr/lib64/libnetcdf_c++.so.4 > /usr/lib64/libnetcdff.a /usr/lib64/libnetcdff.so.4 > /usr/lib64/libnetcdf.so /usr/lib64/libnetcdf.so.4.0.0 > > address@hidden src]# ls /usr/lib/libnetcdf* > /usr/lib/libnetcdf.a /usr/lib/libnetcdf_c++.so > /usr/lib/libnetcdf_c++.so.4.0.0 /usr/lib/libnetcdff.so.4 > /usr/lib/libnetcdf.so /usr/lib/libnetcdf.so.4.0.0 > /usr/lib/libnetcdf_c++.a /usr/lib/libnetcdf_c++.so.4 > /usr/lib/libnetcdff.so /usr/lib/libnetcdff.so.4.0.0 > /usr/lib/libnetcdf.so.4 > > address@hidden src]# ls /usr/include/netcdf-3/ > ncvalues.h netcdfcpp.h netcdf.h netcdf.hh netcdf.inc netcdf.mod > typesizes.mod > > address@hidden src]# uname -a > Linux ault 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64 > x86_64 x86_64 GNU/Linux > > address@hidden src]# gcc --version > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The output from the configure(1) script had this: Note (probably harmless): No library found for -l I suspect that the environment variable LD_NETCDF was set to "-l netcdf". Please try rebuilding the package from scratch (execute the command "make distclean") with the environment variable LD_NETCDF set to "-L/usr/lib64 -lnetcdf". Mind the spaces! Regards, Steve Emmerson Ticket Details =================== Ticket ID: NXE-375892 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.