Using Multiple versions of glibc using LD_LIBRARY_PATH env variable.
Kangkook Jee
aixer77@gmail.com
Mon Dec 29 19:07:00 GMT 2008
Hi, all
I just built different version of glibc from Fedora core 9 and I tried
to execute some applications (e.g. Firefox, Mysql) using this library.
First I tried it by changing LD_LIBRARY_PATH environmental variable
like below, but it crashed with core dump.
$ export LD_LIBRARY_PATH=/tmp/lib-2.9/lib:$LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/tmp/lib-2.9/lib
$ /bin/ls
Segmentation fault (core dumped)
What I did next was using 'ld-linux.so.2' loader and it could exeute
the command.
$/tmp/lib-2.9/lib/ld-linux.so.2 --library-path /tmp/lib-2.9/lib /bin/
ls
But I still want to find cleaner solution to have multiple versions of
glic in a single machine.
Can anyone help me with this?
Thanks for your help in advance
/Kangkook
More information about the Libc-help
mailing list