Question: What can I do now to get this 32-bit file to run on my 64 bit ubuntu installation?
Main error: Exec format error. Binary file not executable.
I'm trying to run a file that was compiled over 10 years ago. The configurations of this file are:
ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV),
statically linked,
for GNU/Linux 2.2.5, stripped
My Ubuntu subsystem configurations are:
x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Therefore, I've been following this guide to get the 32 bit file to work on my 64 bit ubuntu installation: How to run 32-bit app in Ubuntu 64-bit?.
Essentially, I've performed the following steps:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install multiarch-support
Afterwards, I run the following command to run the file:
sudo ./executeFile inputFile
This does not work for me as I'm still receiving a Exec format error. Binary file not executable.
error.
I've followed various other guides on AskUbuntu and installed various packages. A similar to the above guide I followed, another example is Running a 32bit executable, with the commands:
sudo apt-get install --reinstall libc6-i386
sudo apt-get install libgl1-mesa-glx:i386 lsb-core