tinaraj wrote:
I am working on FC4 with processor i686. Gcc (4.0.0) and glibc
(2.3.5) is already installled in this.
I wanted to install glibc 2.1.3 and gcc 1.1.2 (egcs 2.91.66)
I installed glibc 2.1.3 in my own local directory /opt/WMS/glibc and
gcc in /opt/WMS/gcc
After installing i tried to set the
LD_LIBRARY_PATH =/opt/WMS/glibc/lib/
but after i set when I do ls i get the following error
ls:/opt/WMS/glibc/lib/librt.so.1: version GLIBC_2.2 not found
(required by ls)
ls:/opt/WMS/glibc/lib/libc.so.6: version GLIBC_2.2.3 not found
(required by ls)
ls:/opt/WMS/glibc/lib/librt.so.1: version GLIBC_2.3.4 not found
(required by ls)
You can't expect your own 'ls', which was compiled with a newer version
of GNU libc, to work with this old GNU libc. Therefore, you should only
set thie LD_LIBRARY_PATH environment variable for specific programs
which require the old glibc, e.g.:
LD_LIBRARY_PATH=/opt/WMS/glibc/lib some-old-program
This will cause the the LD_LIBRARY_PATH to be set for this program and
once this program finishes, it will be unset[1]. Do not do "export
LD_LIBRARY_PATH" or else your regular programs which you run from within
this shell session will also be forced to use the old glibc, and they
will not like it.
[1] It might not be what technically happens, but it's good enough for
an explanation :-)
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]