Why do I receive an error about GLIBC_2.0 not being defined when I try to start MATLAB on a Red Hat 9 machine?

2 views (last 30 days)
When I try to start MATLAB on my Red Hat 9 machine, I receive the following error:
$matlab/sys/java/jre/glnx86/jre/lib/i386/native_threads/libzip.so:
symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with
link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
I would like to start MATLAB successfully under Red Hat Linux 9.0.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jul 2009
This error is due to the introduction of the Native Posix Thread Library, or NPTL, in Red Hat Linux 9.0. Applications which use Sun JRE versions prior to 1.4.1, or those which use the IBM JRE, are known to experience problems with this library. MATLAB 6.5.1 (R13SP1) and previous versions of MATLAB use JRE versions prior to 1.4.1. To work around this problem, you can use the old LinuxThreads implementation by setting the environmental variable LD_ASSUME_KERNEL. Set it to either 2.2.5 or 2.4.1.
If you are using c shell, you can enter one of the following at the LINUX prompt:
setenv LD_ASSUME_KERNEL 2.4.1
or
setenv LD_ASSUME_KERNEL 2.2.5
If you are using bash shell, you can enter one of the following at the LINUX prompt:
export LD_ASSUME_KERNEL=2.4.1
or
export LD_ASSUME_KERNEL=2.2.5

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!