问题描述
简而言之:与“ How to run 32-bit app in Ubuntu 64-bit”完全相同的问题,但是因为其答案不再起作用。
细节:
$ bios/extlinux/extlinux
bash: bios/extlinux/extlinux: No such file or directory
$ file bios/extlinux/extlinux
bios/extlinux/extlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=6b439421a757a6f3a4218c726538be790a22ca13, stripped
$ uname -m
x86_64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
也就是说,在Ubuntu Xenial下,先前的有效答案不再起作用:
$ sudo dpkg --add-architecture i386
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libdb1-compat initscripts tzdata
E: Package 'libc6:i386' has no installation candidate
E: Unable to locate package libncurses5:i386
E: Unable to locate package libstdc++6:i386
E: Couldn't find any package by regex 'libstdc++6'
最佳答案
我自己找到的
apt-get install libc6-i386
愿意接受任何人的答案作为答案。