Pedro Guimaraes wrote:

> The glibc2-HOWTO explains how you can have libc5 and glibc2 installed and
> both working. Read it *carefully* and everything should work if you follow
> the instructions!
>
> -Pedro

I did read the HOWTO before I wrote to the newsgroup.  I didn't find what
I needed in it, which is why I wrote to the newsgroup.  If I missed something
in it which would have helped me, I apologize.  The HOWTO says to
***
1.Create a link from the new ld.so to /lib/ld-linux.so.2:
                    ln -s /usr/i486-linuxglibc2/lib/ld-linux.so.2
/lib/ld-linux.so.2
***

I cannot do this because what /lib/ld-linux.so.2 is currently pointing to is
in use by others.  All of the binaries (java, javac, ...) have the complete
pathname /lib/ld-linux.so.2 hardwired in them.  I could edit the binaries,
replacing lib with another 3 letter directory which contains a link to my
new libc, but step 2 would hurt me:

***
2.Edit /etc/ld.so.conf. You need to add path to the lib directory the new
libraries reside in at the end of the file, which will be <prefix>/lib, such
as
              /usr/i486-linuxglibc2/lib for the choice above. After you have
modified /etc/ld.so.conf, run

                    ldconfig -v
***

I cannot take this step, either, because wouldn't doing this change
the dependencies of other programs?  For example:
    ldd /usr/bin/make
        libc.so.6 => /lib/libc.so.6
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2

If I edited /etc/ld.so.conf, then libc.so.6 that make needs will no
longer point to /lib/libc.so.6, but will point to the libc.so.6 which
resides in the directory of whatever I specified in /etc/ld.so.conf.
I cannot do this, because I cannot make changes to other programs
(such as make) without changing a program someone else didn't
want changed.

If any of my statements above are incorrect, or if the HOWTO
states how to deal with this problem and I am just not
getting it, then I apologize; however, what I wrote above is
what I BELIEVE to be true, and therefore I am stuck, which
is why I wrote to the newsgroup in the first place.

jason


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to