This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
How to run old linux code (32bit) on a current Ubuntu system (64bit)?
- From: Peng Yu <pengyu dot ut at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sat, 27 Jul 2013 15:47:12 -0500
- Subject: How to run old linux code (32bit) on a current Ubuntu system (64bit)?
Hi,
I have some legacy binary code ("y"). When I run it on a current 64bit
ubuntu system, I get the following errors. Do you know an easy way to
get it running on my current 64bit Ubuntu system? Thanks.
~$ cat /etc/issue
Ubuntu 13.04 \n \l
~$ sudo apt-get install ia32-libs
~$ file y
y: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not
stripped
~$ ./y
./y: relocation error: ./y: symbol errno, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
--
Regards,
Peng