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.
John, I'll see what I can discover about installing the netCDF-Perl package on our Darwin 8.8.0 system using perl 5.8.6. --Steve > Institution: MBARI > Package Version: 1.2.3 > Operating System: Mac OS 10.4 > Hardware Information: Intel MacBook > Inquiry: After many false starts and an apparently successful 'sudo make > install', the commands 'make test' and (our own tool) both fail with > > Can't load 'blib/arch/auto/NetCDF/NetCDF.bundle' for module NetCDF: > blib/arch/auto/NetCDF/NetCDF.bundle(2): Not a recognisable object file > > I suspect the problem is that I have installed Perl 5.8.8 on my Mac. I may > be able to go back -- not sure about dependencies though. Any chance someone > has gotten this install to work with 5.8.8? > > BTW, the listing of the NetCDF directory looks reasonable: > ---------- > -rw-r--r-- 1 root admin 287 Jun 7 10:27 .packlist > -r--r--r-- 1 root admin 0 Jun 7 09:27 NetCDF.bs > -r-xr-xr-x 1 root admin 45296 Jun 7 10:26 NetCDF.bundle > -r--r--r-- 1 root admin 85 Jun 6 16:41 autosplit.ix > ---------- > > The generated perl/Makefile: > > ---------- > # --- MakeMaker const_config section: > > # These definitions are from config.sh (via > /opt/local/lib/perl5/5.8.8/darwin-2level/Config.pm) > > # They may have been overridden via Makefile.PL or on the command line > AR = ar > CC = cc > CCCDLFLAGS = > CCDLFLAGS = > DLEXT = bundle > DLSRC = dl_dyld.xs > LD = env MACOSX_DEPLOYMENT_TARGET=10.3 cc > LDDLFLAGS = -L/opt/local/lib -bundle -undefined dynamic_lookup > LDFLAGS = -L/opt/local/lib > LIBC = /usr/lib/libc.dylib > LIB_EXT = .a > OBJ_EXT = .o > OSNAME = darwin > OSVERS = 7.9.0 > RANLIB = /usr/bin/ar ts > SITELIBEXP = /opt/local/lib/perl5/site_perl/5.8.8 > SITEARCHEXP = /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level > SO = dylib > EXE_EXT = > FULL_AR = /usr/bin/ar > VENDORARCHEXP = /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level > VENDORLIBEXP = /opt/local/lib/perl5/vendor_perl/5.8.8 > -------- > Perl -V gives: > > perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=darwin, osvers=7.9.0, archname=darwin-2level > uname='darwin widemacjbg.local 7.9.0 darwin kernel version 7.9.0: wed mar 30 > 20:11:17 pst 2005; root:xnuxnu-517.12.7.obj~1release_ppc power macintosh > powerpc ' > config_args='-des -Dprefix=/opt/local -Dccflags=-I'/opt/local/include' > -Dldflags=-L/opt/local/lib -Dvendorprefix=/opt/local' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-I/opt/local/include -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include', > optimize='-Os', > cppflags='-no-cpp-precomp -I/opt/local/include -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include' > ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', > gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/opt/local/lib' > libpth=/opt/local/lib /usr/lib > libs=-ldbm -ldl -lm -lc > perllibs=-ldl -lm -lc > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-L/opt/local/lib -bundle -undefined dynamic_lookup' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO > Built under darwin > Compiled at Mar 18 2006 14:00:17 > %ENV: > PERL5LIB="/System/Library/Perl/libwww-perl-5.805/lib:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/usr/bin/ant161/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/ferret/bin" > @INC: > /System/Library/Perl/libwww-perl-5.805/lib > /usr/local/mysql/bin > /opt/local/bin > /opt/local/sbin > /usr/bin/ant161/bin > /sw/bin > /sw/sbin > /bin > /sbin > /usr/bin > /usr/sbin > /usr/X11R6/bin > /usr/local/ferret/bin > /opt/local/lib/perl5/5.8.8/darwin-2level > /opt/local/lib/perl5/5.8.8 > /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level > /opt/local/lib/perl5/site_perl/5.8.8 > /opt/local/lib/perl5/site_perl > /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level > /opt/local/lib/perl5/vendor_perl/5.8.8 > /opt/local/lib/perl5/vendor_perl > . > > > Thanks for whatever you can offer. > > John Regards, Steve Emmerson Ticket Details =================== Ticket ID: DKR-119346 Department: Support netCDF Perl Priority: Normal Status: On Hold