1

I'm installing a game on Ubuntu 20.04.1 x64, which is only compatible with 32x OS. When I try to run it, the error occurs:

error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

I tried solution of this post error :while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory, but it didn't help.

I also installed libx11-xcb1 and libx11-xcb-dev packages.

The output of ldd game_launcher | grep not is libX11-xcb1.so.1 => not found.

Any ideas?

elo
  • 133
  • Please edit your question and add output of ldd game-executable | grep not (change game-executable to actual file-name) to it. You may need more than one library. – N0rbert Sep 01 '20 at 20:44

1 Answers1

1

To get 32-bit version of the library you have to add :i386 after the package name:

sudo apt-get install libx11-xcb1:i386
N0rbert
  • 99,918