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

Re: 20020612: ncgen Error -- libc.2 not found (fwd)



------- Forwarded Message

Date:    Wed, 19 Jun 2002 16:50:44 -0600
From:    Russ Rew <address@hidden>
To:      "Kuang-Shen Hsu" <address@hidden>
Subject: Re: 20020612: ncgen Error -- libc.2 not found 

>To: address@hidden
>From: "Kuang-Shen Hsu" <address@hidden>
>Subject: Re: 20020612: ncgen Error -- libc.2 not found
>Organization: DOC/NOAA/NWS - National Weather Service
>Keywords: 200206122115.g5CLFLJ27196

Kuang,

> Thanks for your help!  We have 32 bit machine.  I could not find
> /usr/lib/pa20_64/ directory.  Below are all the libc files in our
> /usr/lib/ directory:
> 
> [ws1-nhdr]$pwd
> /usr/lib
> [ws1-nhdr]$ls *libc*
> libc.1          libcl.1         libcma.sl       libcur_colr.1   libcurses.1
> libc.a          libcl.a         libcodelibs.a   libcur_colr.a   libcurses.sl
> libc.sl         libcl.sl        libcomplex.a    libcur_colr.sl  libcxx.a
> libc_r.sl       libcma.1        libcrypt.a      libcurses.0
> 
> Does that mean the /fs/local/netcdf-3.5.0/HP will work only on the 64 bit 
> machine?

No, it probably means the executable you have was built on a 64-bit
machine, so will not work on a 32-bit machine.  You could verify this
by using the "file" command to see what your system thinks it is.  For
example, if I invoke the "file" command on an executable built on a
64-bit machine:

  % file ncgen
  ncgen:          ELF-64 executable object file - PA-RISC 2.0 (LP64)

If you rebuild netCDF from source using the installation instructions
in:

  http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html#hpux

it should create a 32-bit executable, or maybe you can use the ncgen
already built from our collection of compiled binaries for 3 different
versions of HP-UX:

  ftp://ftp.unidata.ucar.edu/pub/binary/hpux_9.05-hp9000/netcdf-3.3.1.tar.Z
  ftp://ftp.unidata.ucar.edu/pub/binary/hpux_10.20-hp9000/netcdf-3.4.tar.Z
  ftp://ftp.unidata.ucar.edu/pub/binary/hpux_11.00-hp9000/netcdf-3.5.0.tar.Z

for ncgen from various versions of the netCDF distribution.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu





------- End of Forwarded Message