This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Building glibc 2.19 for OS/ABI UNIX - System V
- From: Shaun Jackman <sjackman at gmail dot com>
- To: "Carlos O'Donell" <carlos at systemhalted dot org>
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Thu, 24 Jul 2014 12:14:33 -0700
- Subject: Re: Building glibc 2.19 for OS/ABI UNIX - System V
- Authentication-results: sourceware.org; auth=none
- References: <CADX6M3qF-6Wd25Pn2Aa_GjdtGaG6Owp=hieR=TYpnXxSvtSbtA at mail dot gmail dot com> <CAE2sS1gWG3z5Q7VhoaH4Lf0UgOC0wjy4Fs4gt1cD5stdOs2aFw at mail dot gmail dot com>
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
On 24 July 2014 11:59, Carlos O'Donell <carlos@systemhalted.org> wrote:
> On Thu, Jul 24, 2014 at 2:54 PM, Shaun Jackman <sjackman@gmail.com> wrote:
>> $ LD_LIBRARY_PATH=~/local/Cellar/glibc/2.19/lib ~/local/bin/hello
>> /home/sjackman/local/bin/hello: error while loading shared libraries:
>> /home/sjackman/local/Cellar/glibc/2.19/lib/libc.so.6: ELF file OS ABI
>> invalid
>
> You can't run your binary that way.
>
> Please see this wiki page about building and testing your builds:
> https://sourceware.org/glibc/wiki/Testing/Builds
>
> You need to run the binary under the *new* dynamic loader, and using
> the *new* core libraries.
>
> We do not support using the old dynamic loader with new libraries.
>
> Cheers,
> Carlos.
Hi, Carlos. Thanks for your quick response. Yes, it does work as
expected when I use the newly built loader with the newly built glibc.
I can't unfortunately replace the system's default loader in /lib, and
there's no environment variable equivalent of `LD_LIBRARY_PATH` that I
know of to set the default loader.
Is it possible to build glibc 2.19 with an OS/ABI of UNIX - System V?
If not, is there a component of my toolchain (Linux headers, binutils,
glibc) that I can downgrade to an earlier release that will build a
UNIX - System V glibc?
Thanks,
Shaun