Tuesday, January 20, 2015

Fix: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

I had a request for a Static MAC address for one of my VMs.  I've been using a little tool called vmmacgen since 2005 to randomly generate a static MAC for me.  I SCP'd the file to my fresh install of CentOS 7, extracted the .gz and received the following error when I tried to run it:

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
 
Luckily this was a quick fix.  Just run the following command to install the proper components and you'll be able to run the app (No reboot necessary):

yum -y install glibc.i686 
 I was then able to successfully run the tool:
















No comments:

Post a Comment