Installing
-
2. Enabling 32-bit Arch
First, Enable 32 bit Architecture
Simply play:sudo dpkg --add-architecture i386
Then Refresh the Repos:
sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
3. Installing Libraries
The Install the Usually Needed Libraries:
sudo apt install libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386
Then if still Not Working follow Guide on Next Step.
-
4. Looking Up Dependencies
Else Next Install Dependencies Lookup Package.
sudo apt install elfutils
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then Look: Solution.And then Read Needed Dependencies
First, Access the target:cd /[path/2/myBinPackage]
And Look up for Libraries:
readelf -d [myBinPackage]
Then Look for the NEEDED Entries like here below:
-
5. Installing Dependencies
Now Search on google for the Package containing the Library
Eg like in this example with:“libdl.so.2 deb package”.
Finally, to Install the needed Packages
Eg:sudo apt install libc6:i386
So Now I’m truly Happy if My Guide could Help you to Install 32 bit Libraries for Binary on Ubuntu 22.04 64 bit!
Contents