Go Back

Running 32-bit executables on 64-bit Ubuntu Linux

Article Number: 2331
First Published:
Modified:
Recent Activity:
Views: 58
OS: Unix
Product: Operating System

Later versions of Ubuntu Linux are 64-bit only operating systems by default and do not come with a 32-bit subsystem.


Without the 32-bit subsystem, 32-bit executables will not be recognized as such and when run, an error such as the vtxping example below will occur:


vtxping: cannot execute binary file


Running ldd on the executable will produce the output "not a dynamic executable."


If 32-bit executables are to be run on the system, the i386 architecture (32-bit subsystem) must be installed by installing the libc6 packages as shown below:


sudo dpkg --add-architecture i386


Or if you are using Ubuntu 12.04 LTS (Precise Pangolin) or below, use this:


echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch


Then:


sudo apt-get update

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386


See this article for more information http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit


 



THE INFORMATION PROVIDED TO YOU IN THIS SERVICE IS FOR YOUR USE ONLY. THE INFORMATION MAY HAVE BEEN DEVELOPED INTERNALLY BY SYNERGEX OR BY EXTERNAL SOURCES. SYNERGEX MAKES NO WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS INFORMATION, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYNERGEX BE LIABLE FOR ANY DAMAGES OR LOSSES INCURRED BY YOU IN USING OR RELYING ON THIS INFORMATION, INCLUDING WITHOUT LIMITATION GENERAL DAMAGES, DIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES, OR LOSS OF PROFITS, EVEN IF SYNERGEX HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Please log in to comment on this article.