Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem with cmake build: `GLIBCXX_3.4.32' not found , 'GLIBC_2.38' not found

Problem with cmake build: `GLIBCXX_3.4.32' not found , 'GLIBC_2.38' not found

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 2 Posters 411 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.
  • S Offline
    S Offline
    Shankar_12
    wrote on last edited by
    #1

    Device: Orange pi 5 v1.21 arm
    OS: Debian 12
    Qt version:6.8.1
    Qt Creator: 14.0.2

    Summary
    Unable to build any Qt projects as i'm getting the following error, as i understand Debian 12 comes with GLIBCXX_3.4.30. Support needed in resolving this issue

    /opt/Qt/6.8.1/gcc_arm64/libexec/qmlimportscanner:-1: /lib/aarch64-linux-gnu/libstdc++.so.6: version **GLIBCXX_3.4.32'** not found (required by /opt/Qt/6.8.1/gcc_arm64/libexec/qmlimportscanner) /opt/Qt/6.8.1/gcc_arm64/libexec/qmlimportscanner:-1: /lib/aarch64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/Qt/6.8.1/gcc_arm64/libexec/../lib/libQt6Qml.so.6)
    /opt/Qt/6.8.1/gcc_arm64/libexec/qmlimportscanner:-1: /lib/aarch64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.32' not found (required by /opt/Qt/6.8.1/gcc_arm64/libexec/../lib/libQt6Qml.so.6) /opt/Qt/6.8.1/gcc_arm64/libexec/qmlimportscanner:-1: /lib/aarch64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/Qt/6.8.1/gcc_arm64/libexec/../lib/libQt6Qml.so.6)

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      If you look at https://doc.qt.io/qt-6.8/supported-platforms.html you can see:

      Ubuntu 24.04 x86_64, arm64 GCC as provided by Canonical, GCC 13.x
      Debian 11.6 x86_64, arm64 GCC 10 Technology Preview

      So your Debian is too new. You have these options:

      1. Pick Debian 11.6 or Ubuntu 24.04
      2. Recompile Qt 6.8.1 for your Debian 12
      3. Use Qt from your Debian 12 distribution
      1 Reply Last reply
      1
      • S Offline
        S Offline
        Shankar_12
        wrote on last edited by Shankar_12
        #3

        @cristian-adam thanks for the swift reply.
        I'm required to use only debian 12 for my project and I did try the 2nd option a while back but i face another issue there.

        Here's some context,
        I'm trying to build the Qt VNC sample application https://doc.qt.io/QtVNCServer/qtvncserver-remotedesktop-example.html, which requires the QtVncServer module. However, after manually installing Qt 6.8.1 from qt-everywhere-src-6.8.1.zip, I couldn't find this module which is causing the Qt VNC project build to fail.

        I don't have the error log at the moment, but I can try running the build again to check it.

        I’d like to know whether the QtVncServer module can only be enabled through the Qt Installer or if there’s another way to install it.

        1 Reply Last reply
        0
        • cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #4

          QtVncServer is part of the commercial offering, as seen at https://doc.qt.io/QtVNCServer/index.html

          You might need to look somewhere else than qt-everywhere-src-6.8.1.zip.

          1 Reply Last reply
          1
          • S Offline
            S Offline
            Shankar_12
            wrote on last edited by
            #5

            Understood. Thanks

            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