Error while installing shared libraries libX11-xcb.so.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?

1

1 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like