On Sat, Jan 27, 2001 at 04:54:43PM -0200, Alexandre Oliva wrote:
> On Jan 27, 2001, "Gary V. Vaughan" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool