Error occurred "No such file or directory" while running the HC installer on Linux machine

 
Question : HC Linux installer throwing error  ./hc10installer: ./lib/installer: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
 

Answer: 
This issue can be resolved by installing the 32-bit libraries.



CentOS :
  • yum install glibc.i686
Debian 5/6.x :
  • sudo apt-get install linux32 ia32* 
Debian 7.x :
  • dpkg --add-architecture i386
  • apt-get update
  • apt-get install ia32-libs-i386
Debian 8.x :
  • sudo dpkg --add-architecture i386
  • sudo apt-get update
  • sudo apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
 
If 32 bit libraries are not getting installed normally then try to run this command to forcefully install them:
  • apt-get -y --force-yes install lib32z1 lib32ncurses5
Ubuntu 12.x or below:
  • echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch 
  • sudo apt-get update
  • sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Ubuntu 14.x:
  • sudo dpkg --add-architecture i386
  • sudo apt-get update
  • sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
 

Add Feedback