Error while loading shared libraries: libX11-xcb.so.1

I’ve installed LibreOffice7.1 on RedHat 8 and when I run the command:
libreoffice7.1
I get the following error:
/opt/libreoffice7.1/program/soffice.bin: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

run:

/opt/libreoffice7.1/program/soffice

Hi @karolus thanks for your answer

After running:

/opt/libreoffice7.1/program/soffice

I’m getting the same error message

/opt/libreoffice7.1/program/soffice.bin: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

Any other suggestions please, thanks

Hi @hassenelber,
I know it’s been a while since you posted this. Were you able to find a solution to this? I am facing the same scenario as you were.
Thank you!