[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool hassle on Solaris...
From: |
Gary V. Vaughan |
Subject: |
Re: Libtool hassle on Solaris... |
Date: |
Mon, 29 Jan 2001 22:26:52 +0000 |
User-agent: |
Mutt/1.3.12i |
On Sat, Jan 27, 2001 at 04:54:43PM -0200, Alexandre Oliva wrote:
> On Jan 27, 2001, "Gary V. Vaughan" <address@hidden> wrote:
>
> >> exit 0x3fc
> >> ../snprintfv/snprintfv/.libs/li
> >> bsnprintfvc.a(format.o)
>
> Solaris' ld can't link non-PIC libraries into shared libraries when
> `-z text' is used. This is the symptom.
Okay... so that gives us a few workarounds:
- don't specify -no-undefined (so -z text is not used)
- link against libsnprintfv.la (the PIC library)
- use GNU ld to link
The second option seems like the best one to me. Is that about right,
Alexandre?
More fundamentally, this means -no-undefined and convenience libraries
don't mix on Solaris, which is IMHO a bug in libtool =(O|
Cheers,
Gary.
--
___ _ ___ __ _ mailto: address@hidden
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc