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

20010404: Netcdf-perl make errors: Invalid loader fixup ...



Dan,

Well..., the output of your "perl -V" looks compatible with the C
compiler used to build the netcdf-perl package (note: not the same as
the netCDF package).

It could be that the netCDF package wasn't built with
position-independent code (the "+z" option of the "cc" compiler) --
which is positively necessary for perl extensions.

Can you tell if the netCDF library was built using position-independent
code?

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

>Date: Wed, 04 Apr 2001 15:53:33 -0400
>From: "Dan L. Ostrom" <address@hidden>
>Organization: University of Michigan
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20010404: Netcdf-perl make errors: Invalid loader fixup ...
>Keywords: 200104041834.f34IYtL02817
>
> Steve,
>          Thanks for the quick response.
> Well, netcdf has been here for a while. I just took over the site
> last summer and do not know how netcdf itself was built.
> 
>          Here's the output you wanted:
> =================================================================
> perl -V
> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
>    Platform:
>      osname=hpux, osvers=10.20, archname=PA-RISC2.0
>      uname='hp-ux tidi02 b.10.20 a 9000782 2006635277 two-user license '
>      config_args=''
>      hint=previous, 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='-D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -Ae'
>      ccflags ='-D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -Ae'
>      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='ld', ldflags =' -L/usr/local/lib'
>      libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /opt/gdbm/lib
>      libs=-lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt -lsec
>      libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
>    Dynamic Linking:
>      dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E 
> -Wl,-B,deferred '
>      cccdlflags='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'
> 
> 
> 
> Characteristics of this binary (from libperl):
>    Compile-time options: USE_LARGE_FILES
>    Built under hpux
>    Compiled at Aug 30 2000 17:40:04
>    @INC:
>      /usr/local/perl/lib/5.6.0/PA-RISC2.0
>      /usr/local/perl/lib/5.6.0
>      /opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0
>      /usr/local/perl/lib
>      /usr/local/perl/lib