Re: glibc 2.2 vs 2.3 issue back again
- From: Denes Molnar <molnar@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Dec 2005 20:33:28 -0500
[to John]
Glibc considers the PT_INTERP, /lib/ld-linux.so.2, to be an integral part of glibc. There are mutual dependencies between ld-linux and glibc.
I wonder whether that is taken care of by my changing /lib/ld-linux.so.2 to /lib2/ldlinux.so.2 everywhere, including the libraries, where the latter path is where I put the loader from Fedora (which is glibc-2.3).
However, you can play by the complete rules, switching the _entire_ glibc package, including ld-linux, for one execve() [command-line process]: http://BitWagon.com/rtldi/rtldi.html
I think I will give this a try - if I see it correctly it basically saves me the LD_LIBRARY_PATH. From what is written at the URL above, it could be that I should copy more libraries from Fedora (even though 'ldd' does not report them).
One question - do I need to change the /lib/ld-linux.so.2 strings in the libraries too, or only in the executables?
[to Roger]
Why can't you just upgrade glibc (or your distribution)?
Just three reasons (variations on same theme essentially - stability :)
i) upgrading changes/breaks existing things - it takes weeks to reach identical functionality and one often finds in critical moments that something still does not work or is missing and needs immediate install/fixing/workaround. This way there are no surprises - only a single package, Mathematica, does not work, which has moderate priority.
ii) chroot or another linux install could work in principle were it not a notebook where diskspace is limited and there is no free partition
iii) I had bad experience with linux 2.6 + software suspend - it wiped out my root partition the last time I tried (luckily on some other machine)
Denes
.
- References:
- glibc 2.2 vs 2.3 issue back again
- From: Denes Molnar
- Re: glibc 2.2 vs 2.3 issue back again
- From: John Reiser
- glibc 2.2 vs 2.3 issue back again
- Prev by Date: Re: glibc 2.2 vs 2.3 issue back again
- Next by Date: Re: glibc 2.2 vs 2.3 issue back again
- Previous by thread: Re: glibc 2.2 vs 2.3 issue back again
- Next by thread: Re: glibc 2.2 vs 2.3 issue back again
- Index(es):
Relevant Pages
|