Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt 6 on RHEL HPC with module loading fails with gmake: *** [all] Error 2 after Linking CXX shared
Forum Updated to NodeBB v4.3 + New Features

Qt 6 on RHEL HPC with module loading fails with gmake: *** [all] Error 2 after Linking CXX shared

Scheduled Pinned Locked Moved Solved Qt 6
2 Posts 1 Posters 373 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.
  • R Offline
    R Offline
    RobbieTheK
    wrote on last edited by RobbieTheK
    #1

    After thinking it was a bug with the installation, a developer suggested I post here to sort out why the make is failing. RHEL 7, gcc 10.3, make 3.17.4. My $PATH may have multiple ICU header and library copies but I only find one:

    ls -l /usr/lib64/libicuuc.so
    lrwxrwxrwx 1 root root 18 Mar 14  2017 /usr/lib64/libicuuc.so -> libicuuc.so.50.1.2
    

    CMakeCache has these:

    ICU_UC_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libicuuc.so
    ICU_INCLUDE_DIR:PATH=/usr/include
    

    Here is the error:

    [ 58%] Linking CXX shared library ../../lib/libQt6Widgets.so
    [ 58%] Built target Widgets
    gmake: *** [all] Error 2
    

    I also saw this earlier in the make:

    /usr/lib64/libOpenGL.so: undefined reference to `_glapi_tls_Current'
    collect2: error: ld returned 1 exit status
    gmake[2]: *** [qtbase/bin/qsb] Error 1
    gmake[1]: *** [qtshadertools/tools/qsb/CMakeFiles/qsb.dir/all] Error 2
    gmake[1]: *** Waiting for unfinished jobs....
    

    here is the summary:

    Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Compiler: gcc 10.3.0
    Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Fully optimize release builds (-O3) .... no
      Building shared libraries .............. yes
      Using C standard ....................... C11
      Using C++ standard ..................... C++17
      Using ccache ........................... no
      Using new DTAGS ........................ yes
      Relocatable ............................ yes
      Using precompiled headers .............. yes
      Using Link Time Optimization (LTO/LTCG)  no
      Using Control-flow Enforcement Technology (CET)  no
      Target compiler supports:
        x86 Intrinsics ....................... Basic
      Sanitizers:
        Addresses ............................ no
        Threads .............................. no
        Memory ............................... no
        Fuzzer (instrumentation only) ........ no
        Undefined ............................ no
      Build parts ............................ libs tools
    Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... no
      Qt Gui ................................. yes
      Qt Network ............................. yes
      Qt PrintSupport ........................ yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
    Support enabled for:
      Using pkg-config ....................... yes
      udev ................................... no
      Using system zlib ...................... yes
      Zstandard support ...................... no
      Thread support ......................... yes
    Common build options:
      Linker can resolve circular dependencies  no
      CMake policy CMP0099 is supported ...... yes
    Qt Core:
      backtrace .............................. yes
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... yes
      ICU .................................... yes
      Using system libb2 ..................... no
      Built-in copy of the MIME database ..... yes
      cpp/winrt base ......................... no
      Tracing backend ........................ <none>
      Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
      PCRE2 .................................. yes
        Using system PCRE2 ................... no
      CLONE_PIDFD support in forkfd .......... yes
    Qt Sql:
      SQL item models ........................ yes
    Qt Network:
      getifaddrs() ........................... yes
      IPv6 ifname ............................ yes
      libproxy ............................... no
      Linux AF_NETLINK ....................... yes
      OpenSSL ................................ no
        Qt directly linked to OpenSSL ........ no
      OpenSSL 1.1 ............................ no
      DTLS ................................... no
      OCSP-stapling .......................... no
      SCTP ................................... no
      Use system proxies ..................... yes
      GSSAPI ................................. yes
      Brotli Decompression Support ........... no
      qTopLevelDomain() ...................... yes
        Built-in publicsuffix database ....... yes
        System publicsuffix database ......... yes
    Core tools:
      Android deployment tool ................ yes
      macOS deployment tool .................. no
      Windows deployment tool ................ no
      qmake .................................. yes
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ yes
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
      Fontconfig ............................. yes
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... yes
        PNG .................................. yes
          Using system libpng ................ yes
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... yes
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
        OpenGL ES 3.2 ........................ no
      Vulkan ................................. no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      HiRes wheel support in libinput ........ no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. no
      X11 specific:
        XLib ................................. yes
        XCB Xlib ............................. yes
        EGL on X11 ........................... yes
        xkbcommon-x11 ........................ no
        xcb-sm ............................... no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ no
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGLFS X11 ............................ yes
      LinuxFB ................................ yes
      VNC .................................... yes
      VK_KHR_display ......................... no
      QNX:
        lgmon ................................ no
        IMF .................................. no
      XCB:
        Using system-provided xcb-xinput ..... no
        GL integrations:
          GLX Plugin ......................... no
            XCB GLX .......................... no
          EGL-X11 Plugin ..................... no
      Windows:
        Direct 2D ............................ no
        Direct 2D 1.1 ........................ no
        DirectWrite .......................... no
        DirectWrite 3 ........................ no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt Testlib:
      Tester for item models ................. yes
    Qt PrintSupport:
      CUPS ................................... no
    Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. no
      SQLite ................................. yes
        Using system provided SQLite ......... no
    Qt QML:
      QML network support .................... yes
      QML debugging and profiling support .... yes
      QML just-in-time compiler .............. yes
      QML XML http request ................... yes
      QML Locale ............................. yes
    Qt QML Models:
      QML list model ......................... yes
      QML delegate model ..................... yes
    Qt Quick:
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Qt Quick Designer .......... yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      TableView item ......................... yes
      TreeView item .......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      Repeater item .......................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
    Qt Quick Templates 2:
      Hover support .......................... yes
      Multi-touch support .................... yes
      Calendar support ....................... yes
    Qt Quick Controls 2:
      Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
    
    1 Reply Last reply
    0
    • R Offline
      R Offline
      RobbieTheK
      wrote on last edited by
      #2

      Once I installed/updated libicu-50.2-4.el7_7 that updated libicu-devel-50.1.2-15 and lo and behold the make completed and installed.

      1 Reply Last reply
      0

      • Login

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