Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT Install failed (error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file)

QT Install failed (error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jihwan
    wrote on last edited by
    #1

    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-directory

    But 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.

    jsulmJ 1 Reply Last reply
    0
    • J jihwan

      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-directory

      But 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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved