We just had an issue at one of our customer sites when a user tried installing a new version of Ghostscript, we still haven’t found what actually happened / caused the issue and are still investigating but one thing was that we couldn’t run any of the most basic commands like ls, cp etc.

Just hoping that some one else googling for this will help them at least get started fixing there issues.

Running CentOS 4.3 ( 32bit ) ( I know it’s OLD ) but it’s running a legacy system which is about to be upgraded so the company doesn’t want to make it compliant just yet otherwise noones going to want to upgrade to the new system :).

Our fix was to do this was :


export LD_LIBRARY_PATH=/lib/tls:/lib
export LD_PRELOAD /lib/tls/libpthread.so.0

This at least got us using the system, and we are still investigating causes and full fixes which I will add as an updater later.

ls: /lib/libpthread.so.0: version `GLIBC_2.3.3' not found (required by /lib/tls/librt.so.1)