ELF interpreter error

java -version bash: /bin/java: /lib/ld-linux.so.2: bad elf interpreter: no such file or directory
-bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad elf interpreter: no such file or directory
centos7 bad elf interpreter
modelsim bad elf interpreter
bad elf interpreter: no such file or directory redhat 7
could not find the elf interpreter name
sas linux lib/ld-linux so 2 bad elf interpreter: no such file or directory
elf: zr: error

When I execute ANY command, this happens.

/lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

I believe I accidentally removed glibc. Is there any way to install it? Non of the commands works. The system is CentOS 6, on a 1GB RAM VPS.

You can reinstall Glibc from an external system only, since the installing binaries use glibc. After booting up a rescue image mount the root of your system somewhere and download the glibc version that you would like to install and execute the following:

rpm -Uvh --root=/mnt/broken_system/ --force glibc-X.rpm

This install back the Glibc on your system so you can reboot your operating system and it will work.

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory, However, the bottom line problem is that you are trying to run and/or install perl​: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory. I have just installed CentOS 6 64bit version, I'm trying to install a 32-bit application on a 64-bit machine and got this error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or director

If you have only removed the symbolic links associated with glibc, you can recover it back by running ldconfig utility. It is a static binary and hence can be run successfully on broken glibc systems. On some distos, ldconfig would be a script which internally calls something like ldconfig.real, which is again a static binary.

How to fix /lib/ld-linux.so.2: bad ELF interpreter: No such file or , So if you encounter this error /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory this is how you can fix it: On any RPM based  This error can be caused by a Linux installation that doesn't have all of the libraries required to run the License Manager's lmgrd daemon. To resolve this, you will need to install the missing libraries. See the following article for more information:

Use below Command to remove

sudo yum remove java

example now i removing java

CentOS Error: 64 bit bad ELF interpreter, So, I'm trying to install a 32-bit application on a 64-bit version of CentOS and got this error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or  Today I had to run a script on a 64Bit server, but was met with the following error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Reason for the /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory error

Error on application install: /lib/ld-linux.so.2: bad ELF interpreter: No , Try first to search for the package: yum search glibc. This will provide all the packages that contain glibc. Second, what application are you  I am trying to get logrotate running on a FreeBSD 8.1 virtual machine. I installed the logrotate with pkg_add, I have created the logrotate.config file and also run: mkdir /var/lib/ touch /var/lib/

Article: RedHat Install Fails with "bad ELF interpreter", Ran proinst got error message "./work/proinst: /root/work/_ovrly: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory". As far as I know, programs are loaded by the "ld-linux.so" library and not a "ld-elf" program. I believe that ld-elf.so is used to load programs when you use a BSD based system. That is why you don't have the ld-elf library. Perhaps if you created a symbolic link from ld-elf.so.1 to your ld-linux.so loader, you might be able to run the program.

How to fix /lib/ld-linux.so.2: bad ELF interpreter: No such , During upgrade from 11.2.0.3 to 11.2.0.4 I got /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory To solve this problem you should  currently I'm performing an update of gettext with relatives dependencies, after that I'll perform a full update. Anyway, I dont guess those missed libs are causing wine malfunction, if I dont get wrong, they are not related to winebut this I'll see when I'll do next updates.

Comments
  • RPM command does not work: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory And, it is a VPS.
  • You have to ask the VPS guys to help you if you don't have access to any console. Removed glibc can be fixed only by external process.
  • What exactly should I ask them to do?
  • to boot up your server using a rescue cd or pendrive and mount your root partition and install glibc the way i mentioned above.
  • Is this answer related to this question? The original question was about glibc rather than Java.