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?
11 Answer
To get 32-bit version of the library you have to add :i386 after the package name:
sudo apt-get install libx11-xcb1:i386