Cannot load lib32z1: 32 bit package
Jeffrey Walton
noloader at gmail.com
Mon May 31 21:24:02 UTC 2021
On Mon, May 31, 2021 at 3:59 PM Pienkowski Andy
<andy.pienkowski at gmail.com> wrote:
>
> I am writing to you in some desperation to find out how to load the lib32z1 package into a Ubuntu 20.04 installation. I have two equivalent dual boot Ububtu 20.04 systems. One has the lib32z1 installed, the other will not allow its installation for some reason? (Please see the attached picture.)
In the old days you just installed ia32-libs.
Nowadays you do something like this:
$ sudo apt-get install lib32z1 lib32ncurses5
$ sudo apt-get install gcc-multilib gcc-7-multilib
$ sudo apt-get install g++-multilib g++-7-multilib
You should check the version of GCC that comes with the platform and
use the specific version when installing. My -m32 test system happens
to use GCC 7 by default, hence gcc-7-multilib and g++-7-multilib.
If you have dependencies, then you use the <package>:i386 syntax, like:
$ sudo apt-get install libfoo:i386
Jeff
More information about the Ubuntu-devel-discuss
mailing list