How to run old linux code (32bit) on current ubuntu system?
Peng Yu
pengyu.ut at gmail.com
Sat Jul 27 14:19:41 UTC 2013
On Sat, Jul 27, 2013 at 8:01 AM, Sajan Parikh <sajan at noppix.com> wrote:
> On 07/27/2013 04:38 AM, Peng Yu wrote:
>>
>> Hi,
>>
>> I have some legacy binary code. Is there a way to run it on a current
>> 64bit ubuntu system?
>>
>> ~$ 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
>> -bash: ./y: No such file or directory
>>
>
> You might get away by installing the 32bit libraries.
>
> sajan at volus:~$ sudo apt-cache search ia32-libs
> ia32-libs - ia32 shared libraries - transitional package
> ia32-libs-multiarch - Multi-arch versions of former ia32-libraries
> sajan at volus:~$ sudo apt-get install ia32-libs
This approach is good. It seems get one step further to make the code
running. How to resolve the following error? Thanks.
~$ ./y
./y: relocation error: ./y: symbol errno, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
--
Regards,
Peng
More information about the ubuntu-users
mailing list