This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Portable glibc binary package
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: "Swati Kher -X (swkher - TALENT SPACE INC at Cisco)" <swkher at cisco dot com>
- Cc: glibc <libc-help at sourceware dot org>
- Date: Wed, 18 Mar 2015 20:48:39 -0400
- Subject: Re: Portable glibc binary package
- Authentication-results: sourceware.org; auth=none
- References: <CADX6M3r9F3ZF1xLPyFTbmZj2ciuXJJ7BHU2fajfdmw0tvZ7jhQ at mail dot gmail dot com> <20150313064505 dot GM877 at vapier> <CADX6M3rrWT1=YS5u7SL7F1u_o9czubt7Xr1-O5jAunRw1cxioQ at mail dot gmail dot com> <55099C5C dot 3010504 at redhat dot com> <CADX6M3oNn2hCbqrcwbPsjv-rBQv+zHNNufoHrZfd_QVJhe1fYQ at mail dot gmail dot com> <6504C6E73D8D5347BB2FBCB6F781468A01AE97A1 at xmb-rcd-x05 dot cisco dot com>
On 03/18/2015 05:26 PM, Swati Kher -X (swkher - TALENT SPACE INC at Cisco) wrote:
> Hi,
>
> I'm a newbie and new to this mailing list.
>
> Iâve Red Hat 7 with kernel v 3.10.0 currently installed with
> libc-3.17
>
> I want to update and install glibc-2.21
>
> I have been able to configure and compile libc.so and libc.so.6 â but
> I need to update /usr/lib64 to this version but I get the following
> error:
>
> relocation error: /lib64/libc.so.6: symbol _dl_find_dso_for_object,
> version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with
> link time reference
The entire glibc build must be installed as a collection, you cannot
install just libc.so.6.
I strongly suggest against upgrading your installed glibc on RHEL 7
unless you are a very experienced developer and packager. You might
break your system completely if you aren't careful.
The simplest thing to do actually is to start with a RHEL 7 VM and
then install the latest glibc RPM from Fedora 22, which is glibc-2.21
based. That way you don't have to compile and build anything and you
can use a pre-tested RPM for glibc that closely matches what you need.
You can get the builds for x86_64 and i686 here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=614298
Cheers,
Carlos.