This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Using Multiple versions of glibc using LD_LIBRARY_PATH env variable.
- From: Kangkook Jee <aixer77 at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 29 Dec 2008 14:06:47 -0500
- Subject: Using Multiple versions of glibc using LD_LIBRARY_PATH env variable.
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