baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
- From: David Moberg <davidjmoberg AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
- Date: Thu, 5 Jan 2006 14:14:32 -0800
sindi keesan wrote:
>
> I was able to compile netpbm but all the programs segfault.
>
> >
> > The programs that I compiled all produced only Segmentation fault, and ldd
> > reveals that they need ld-linux 2, libm 6, libc 6 and also libc 5.
> >
>
> David's libc5 version does not require ld-linux,
Really?? IIRC the libc5 ldd does not display ld-linux even if the target
program depends on ld-linux.
> and his programs are about three times the size of mine. Did David
> compile statically for ld-linux?
No, I don't think that is even possible without doing a fully static
compile. What probably happened was that I built statically against
libnetpbm and possibly libpng, libz, etc.
> I tried renaming libc.so.5 to libc.so.5.bak and ldd said the programs
> still required it, but could not find it. I removed the 'bak' again.
Your compiling system is somewhat broken. Did you install libc5
development libraries? Try renaming anything that is named .so.5
also.
If this fails, you may need to start with a fresh BL2, and carefully
add the glibc2 development packages without libc5.
netpbm does not depend on libc5, the problem is that gcc does
not work well when there are multiple libcs to get in the way.
It seems to have a hard time deciding which libc to use.
David
-
Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
, (continued)
-
Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade,
sindi keesan, 01/04/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
-
Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade,
sindi keesan, 01/04/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/05/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/06/2006
- [BL] LTModem, was Re: /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, David Moberg, 01/06/2006
- Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade, sindi keesan, 01/06/2006
Archive powered by MHonArc 2.6.24.