Your Linux Data Center Experts

A while back a environment variable was introduced (mostly) to allow users to control how Linux handled threading issues. All sorts of applications (in particular Java) started telling users to set this LD_ASSUME_KERNEL variable. If you still have this variable set in Fedora Core 4, you are looking for trouble.

When Linux was changing threading models the new threading model broke several applications (in particular Java) and so they added a variable you could set to get the old threading behavior. Many people just added this to their .profile or login to always allow things like Java to work.

Another application that had issues at one point with the threading model was rpm. After some upgrades you would need to set LD_ASSUME_KERNEL to some particular value to get rpm to work at all.

At some times during the transition, mozilla/firefox needed LD_ASSUME_KERNEL to properly run. Those days are long past.

This was all well and good for transition to a new threading model/abi, but this has long since been completed. If you have LD_ASSUME_KERNEL set in Fedora Core you will see nifty errors like:

/usr/lib/openoffice.org2.0/program/javaldx: /lib/obsolete/linuxthreads/ version GLIBC_2.3.3' not found


rpmdb: unable to initialize mutex: Function not implemented. error: cannot open Name index using db3 - Function not implemented (38)

The solution is of course to go through all your personal init files and make sure you remove any mention of LD_ASSUME_KERNEL. Including .profile, .bashrc, etc.

There is a very complete and nice explanation of what LD_ASSUME_KERNEL values are valid and what they could be used for here at Ulrich Drepper's RedHat pages:

comments powered by Disqus

Join our other satisfied clients. Contact us today.