Hello,

On Mon, Feb 18, 2013 at 05:55:00PM +0800, Li Li wrote:
> hi all
>     I am not sure whether this question is suitable here or not. sorry if not.
>     I have some binary application which need glibc at least 2.4 but
> my linux box is 2.3.4.
>     I don't have root acount. is there any method to install a newer
> glibc in my home directory and use some tricky to let the binary
> application running using my glibc?

>     here is my environment:
> $ uname -a Linux xxxxx 2.6.9-52bs #2 SMP Fri Jan 26 13:34:38 CST 2007
> x86_64 x86_64 x86_64 GNU/Linux
> 
> $ gcc -v
> --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.5
> 
> $ /lib64/tls/libc.so.6
> GNU C Library stable release version 2.3.4, by Roland McGrath et al.

It is possible to do.  Since the system is older, and your needs are
older as well, I would suggest following the install instructions for
an older LFS:
http://www.linuxfromscratch.org/lfs/view/6.3/chapter06/glibc.html
chaning --prefix=/usr to --prefix=<your home dir>

Once installed you can then add LD_CONFIG_PATH=<your home dir>/lib to the
commandline when you run the binary, or the shell environemnt.

Hope this points you in the right direction.  Best of luck.
ae

-- 
http://elian001.wordpress.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to