[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no .so file on HPUX platform?
From: |
Albert Chin |
Subject: |
Re: no .so file on HPUX platform? |
Date: |
Tue, 30 Jan 2007 19:26:48 -0600 |
User-agent: |
Mutt/1.5.6i |
On Mon, Jan 29, 2007 at 04:11:07PM -0700, Ed Hartnett wrote:
> Ralf Wildenhues <address@hidden> writes:
>
> > * Ed Hartnett wrote on Mon, Jan 22, 2007 at 09:31:36PM CET:
> >>
> >> I only have this one HPUX system to test on, and it's pretty out of
> >> date, I suspect. But if I ask them to upgrade it, they'll probably
> >> just say "Nah, let's just get rid of it..."
> >
> > Do you have aCC installed there? If yes, could you try to build netcdf
> > with it? Over here it's chosen, rather than CC, as C++ compiler.
>
> OK, this gave me the clue to try with with CXX=g++. This allows
> libtool to continue to build shared libraries. But there is still a
> problem, alas!
>
> Can anyone tell me why this link is failing?
>
> /bin/sh ../libtool --tag=CC --mode=link cc -g
> -version-info 4:0:0 -no-undefined -o libnetcdf.la -rp\
> ath /usr/local/lib attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo
> nc.lo string.lo v1hpg.lo var.lo posixio.l\
> o
> libtool: link: cc -b -Wl,+h -Wl,libnetcdf.sl.4 -Wl,+b
> -Wl,/usr/local/lib -o .libs/libnetcdf.sl.4.0 .libs/attr.o .l\
> ibs/ncx.o .libs/putget.o .libs/dim.o .libs/error.o .libs/libvers.o
> .libs/nc.o .libs/string.o .libs/v1hpg.o .libs/va\
> r.o .libs/posixio.o -lc
> cc: warning 422: Unknown option "b" ignored.
> /usr/ccs/bin/ld: Unsatisfied symbols:
> main (Not referenced yet! Probably due to -u option)
While you set CXX=g++, did you set CC=gcc? If not, then the default
bundled compiler, cc, would be selected. And, it cannot be used to
build shared libraries. So, just add CC=gcc.
--
albert chin (address@hidden)
- no .so file on HPUX platform?, Ed Hartnett, 2007/01/03
- Re: no .so file on HPUX platform?, Ralf Wildenhues, 2007/01/08
- Re: no .so file on HPUX platform?, Ed Hartnett, 2007/01/18
- Re: no .so file on HPUX platform?, Ralf Wildenhues, 2007/01/21
- Re: no .so file on HPUX platform?, Ed Hartnett, 2007/01/22
- Re: no .so file on HPUX platform?, Ralf Wildenhues, 2007/01/22
- Re: no .so file on HPUX platform?, Ed Hartnett, 2007/01/29
- Re: no .so file on HPUX platform?, Ralf Wildenhues, 2007/01/30
- Re: no .so file on HPUX platform?,
Albert Chin <=