How to use two versions of glibc at the same time?

hi, I am currently using ubuntu 9.10 with glibc version 2.11.1-0, ok, I am doing a project that I want to test with another version of glibc, which is 2.5-58, I wanted to know the following things regarding this:

How to compile version 2.5-58, however keeping the previous version?

How to link existing programs with binaries of a newer version of glibc?

I would really appreciate if anyone can help me !!!

Let me know if my question is not specific. Please be very helpful if anyone can answer me. Thanks

+4
source share
3 answers

Do not mix glibc versions installed on your system. Especially do not mix programs associated with one or another version. You are likely to break your system if you do.

+1
source

I am not an expert in this, but maybe this will help.

http://www.bitwagon.com/rtldi/rtldi.html

0
source

There is no solution in ubuntu:

http://brainstorm.ubuntu.com/idea/14774

There is a "portage" for managing multiple versions of libary in Gentoo:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1

0
source

Source: https://habr.com/ru/post/1342012/


All Articles