I'm trying to install a 32-bit application on a 64-bit ubuntu. Judging by the many numerical comments - this is real. Already installed a couple of libraries, after which everything should work. However, now an error occurs when trying to run a script to install:

/user_path/bin/game.i386: error while loading shared libraries: libtbb.so.2: wrong ELF class: ELFCLASS64

Thank you in advance for tips and advice :)

  • read after the word update - aleksandr barakin
  • You can try the old way - the ia32-libs package, or you can use the new one, to which @alexanderbarakin referred above. - 0andriy

1 answer 1

Egor Pavlov, unfortunately (or fortunately) I am not familiar with the ubuntu distro. And, nevertheless, the advice - for the "joint" launch of 32 and 64-bit applications on a 64-bit operating system - use the multilib assembly. I do not know how for ubuntu, but for Linux Funtoo (my favorite distr) - this is indicated at the installation stage.

And if there is no such?

Look in the internet for the installation topic "32-bit lib on a 64-bit host under Ubuntu". Surely there is a package, or a series of packages. Alas, I am not familiar with the distribution system in Ubuntu, but something like this should be.

Somehow like this.