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.
Michael, >Date: Fri, 27 Oct 2000 08:10:03 -0700 >From: "Michael P. Urban" <address@hidden> >To: Steve Emmerson <address@hidden> >Subject: Re: 20001026: NetCDF-Perl-1.2.1 "make test" failure >Keywords: 200010261832.e9QIWj405557 The above message contained the following: > Yes; our system with Perl 5.6 does not have these installed by default, > so I copied them over to /tmp for this experiment. Rats! I was hoping it was something simple like that -- but you're too good. :-) > gcc was used to build Perl as well. Good. In general, the same compiler should be used for the extension modules as was used for the perl utility. > Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: > Platform: > osname=solaris, osvers=2.8, archname=sun4-solaris > uname='sunos sardinia.jpl.nasa.gov 5.8 generic_108528-02 sun4u sparc > sunw,ultraax-mp ' > config_args='' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=undef d_sfio=undef uselargefiles=define > use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef > Compiler: > cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release) > cppflags='-fno-strict-aliasing -I/usr/local/include' > ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64' > stdchar='char', d_stdstdio=define, usevfork=false > intsize=4, longsize=4, ptrsize=4, doublesize=8 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, usemymalloc=y, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib ' > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: USE_LARGE_FILES > Built under solaris > Compiled at Oct 12 2000 10:34:21 > %ENV: > PERL5LIB="/home/urban/lib/perl" > @INC: > /home/urban/lib/perl > /usr/local/lib/perl5/5.6.0/sun4-solaris > /usr/local/lib/perl5/5.6.0 > /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris > /usr/local/lib/perl5/site_perl/5.6.0 > /usr/local/lib/perl5/site_perl > . Here's my "perl -V" (maybe you'll spot something): Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos zero.unidata.ucar.edu 5.6 generic_105181-20 sun4u sparc sunw,ultra-2 ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-I/usr/local/include -I/opt/gnu/include' ccflags ='-I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib -L/opt/SUNWspro/SC5.0/lib ' libpth=/usr/local/lib /opt/gnu/lib /opt/SUNWspro/SC5.0/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt -lsec libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib -L/opt/SUNWspro/SC5.0/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Jul 21 2000 08:19:02 @INC: /usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl . > The symbol "Vdetach" is evidently the problem; I agree. Judging from your error message, that symbol is referenced by your file "perl/blib/arch/auto/NetCDF/NetCDF.so" -- but not by mine: $ nm -g blib/arch/auto/NetCDF/NetCDF.so | grep Vdetach $ If I'm right, then why would your's reference "Vdetatch" but not mine? Regards, Steve Emmerson <http://www.unidata.ucar.edu>