Can you run a program using a custom glibc?

2

I installed Mathematica 9 on an old Red Hat Enterprise Linux AS release 4 system. After the installation, I tried to start Mathematica, but following message came out:

/home/wcbao/M/Wolfram/Mathematica/9.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/wcbao/M/Wolfram/Mathematica/9.0/SystemFiles/Libraries/Linux-x86-64/libML64i3.so)

/home/wcbao/M/Wolfram/Mathematica/9.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/wcbao/M/Wolfram/Mathematica/9.0/SystemFiles/Libraries/Linux-x86-64/libQtCore.so.4)

I don't want to update the system glibc, because it's risky and the administrator don't allow me to do that.

Someone suggested that it is possible to just install new version of glibc somewhere else, and run the program as

LD_LIBRARY_PATH=/lib/new your_application

and this will not affect the system.

So I am asking here if this method really works. And if it works, I want to know how to do it step by step (I lack experience in Linux right now, and want to use Mathematica on Linux as soon as possible).

user15964

Posted 2013-01-29T05:21:35.840

Reputation: 159

Question was closed 2013-02-05T08:18:19.510

RHEL4 is eight years old and has reached the end of its normal support life cycle. Isn't there another machine you could install it on? eg. Your desktop machine. – Burhan Ali – 2013-02-03T15:08:17.527

Please do not cross-post questions (it's not off topic here, but there's no way to mark this question a duplicate). – Daniel Beck – 2013-02-05T08:18:34.893

No answers