QT Install failed (error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file)
-
I'm trying to install QT library 5.9.6 on CentOS 7 server.
This server is off-line and totally out of network.
So I have to move rpm binary and install manually.
(Due to dependency, one rpm needs various another rpms. It takes so long.)But here I encountered an new error.
./qt-opensource-linux-x64-5.9.6.run: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
At first, I found the solution in this link. (Install libxcb-devel)
https://forum.qt.io/topic/58679/solved-error-while-loading-shared-libraries-libx11-xcb-so-1-cannot-open-shared-object-file-no-such-file-or-directoryBut after install libxcb-devel, the error still remain.
How can I solve this error and, move on to the next?
The ultimate goal is enabling qt build on offline CentOS server.
Version 5.9.6 is recommended, It's been using on other servers, too. -
I'm trying to install QT library 5.9.6 on CentOS 7 server.
This server is off-line and totally out of network.
So I have to move rpm binary and install manually.
(Due to dependency, one rpm needs various another rpms. It takes so long.)But here I encountered an new error.
./qt-opensource-linux-x64-5.9.6.run: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
At first, I found the solution in this link. (Install libxcb-devel)
https://forum.qt.io/topic/58679/solved-error-while-loading-shared-libraries-libx11-xcb-so-1-cannot-open-shared-object-file-no-such-file-or-directoryBut after install libxcb-devel, the error still remain.
How can I solve this error and, move on to the next?
The ultimate goal is enabling qt build on offline CentOS server.
Version 5.9.6 is recommended, It's been using on other servers, too.@jihwan said in QT Install failed (error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file):
qt-opensource-linux-x64-5.9.6.run
This installer requires GUI as far as I know (that's why it needs libX11-xcb.so.1). Not sure you can run it without GUI.
But can't you use Qt supplied with CentOS 7? If the machine does not have access to the Internet you still can use DVD/CD images as RPM source.