This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Sean Zhang, Your "perl" utility was built in 64-bit mode (the "-m64" option was used). Was the netCDF library built in 64-bit mode? > Full Name: Sean Zhang > Email Address: address@hidden > Organization: CSU Radar Communications Group > Package Version: 1.2.3 > Operating System: Fedora Core 8 x86_64 > Hardware: AMD64 > Description of problem: Hi, > > I am trying to get NetCDF-perl 1.2.3 to work with NetCDF-3.6.2 and Perl-5.8.8, and I am having some problems. > > Perl came pre-installed with Fedora Core 8 and I have included the output from 'perl -V' in my attachments. > > NetCDF-3.6.2 seem to have installed fine. I made sure to generate shared library files with the './configure --enable-shared' option. > > NetCDF-perl-1.2.3 installation goes fine up until the 'make test' step, where I get: > > > make test > make[1]: Entering directory `/usr/local/src/netcdf-perl-1.2.3/src' > > making `test' in directory /usr/local/src/netcdf-perl-1.2.3/src/perl > > make[2]: Entering directory `/usr/local/src/netcdf-perl-1.2.3/src/perl' > 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: libnetcdf.so.4: 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 > Compilation failed in require at test.pl line 5. > BEGIN failed--compilation aborted at test.pl line 5. > make[2]: *** [test_dynamic] Error 2 > make[2]: Leaving directory `/usr/local/src/netcdf-perl-1.2.3/src/perl' > make[1]: *** [perl/test] Error 1 > make[1]: Leaving directory `/usr/local/src/netcdf-perl-1.2.3/src' > make: *** [test] Error 2 > > I have included all the attachment files requested in the Support section. I investigated the libnetcdf.so.4 file and it is where it should be: /usr/local/lib > > Can you help? Thanks in advance. Regards, Steve Emmerson Ticket Details =================== Ticket ID: JOQ-768263 Department: Support netCDF Perl Priority: Normal Status: On Hold