Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 6.5.1 Program execution
QtWS25 Last Chance

Qt 6.5.1 Program execution

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 5 Posters 5.2k 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
    rienna
    wrote on last edited by
    #1

    Installing Qt 6.5.1 for Desktop - the execution of x-Debug shows following
    message

    QML debugging is enabled. Only use this in a safe environment.
    /qt/qml_t/TDT-Debug/TDT: symbol lookup error: /opt/qt/6.5.1/gcc_64/lib/libQt6WaylandClient.so.6: undefined symbol: wl_proxy_marshal_flags
    14:38:50: /qt/qml_t/TDT-Debug/TDT exited with code 127

    who can help ?

    JoeCFDJ 1 Reply Last reply
    0
    • R rienna

      Installing Qt 6.5.1 for Desktop - the execution of x-Debug shows following
      message

      QML debugging is enabled. Only use this in a safe environment.
      /qt/qml_t/TDT-Debug/TDT: symbol lookup error: /opt/qt/6.5.1/gcc_64/lib/libQt6WaylandClient.so.6: undefined symbol: wl_proxy_marshal_flags
      14:38:50: /qt/qml_t/TDT-Debug/TDT exited with code 127

      who can help ?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      @rienna do the following:
      ldd /opt/qt/6.5.1/gcc_64/lib/libQt6WaylandClient.so.6
      to check which wayland lib or its dependency is missing. Show your results here.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rienna
        wrote on last edited by
        #3
        linux-vdso.so.1 (0x00007ffc8effd000)
        libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007fabea91d000)
        libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0 (0x00007fabea914000)
        libQt6Gui.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6Gui.so.6 (0x00007fabe9f50000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fabe9cc5000)
        libQt6Core.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6Core.so.6 (0x00007fabe9639000)
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007fabe93f5000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fabe8fd2000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fabe8e87000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fabe8c68000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fabe8c44000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fabe8a4f000)
        libffi.so.7 => /usr/lib64/libffi.so.7 (0x00007fabe8843000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fabe8630000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fabe83eb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fabe80aa000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fabe80a5000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fabe7f70000)
        libQt6DBus.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6DBus.so.6 (0x00007fabe7ea8000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fabe7c91000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fabe79d3000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fabe79d0000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007fabe779f000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007fabe74e9000)
        libicui18n.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicui18n.so.56 (0x00007fabe704e000)
        libicuuc.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicuuc.so.56 (0x00007fabe6c96000)
        libicudata.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicudata.so.56 (0x00007fabe52b3000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fabe52a9000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fabeaa42000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fabe506a000)
        libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007fabe505f000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fabe4e36000)
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fabe4bad000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fabe495b000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007fabe473e000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fabe44fb000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fabe42f5000)
        libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007fabe4212000)
        liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007fabe3fd8000)
        libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007fabe3ea7000)
        liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007fabe3c86000)
        libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007fabe3a7a000)
        libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007fabe393c000)
        
          is there something missing ?
        

        thanks

        JoeCFDJ 1 Reply Last reply
        0
        • R rienna
          linux-vdso.so.1 (0x00007ffc8effd000)
          libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007fabea91d000)
          libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0 (0x00007fabea914000)
          libQt6Gui.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6Gui.so.6 (0x00007fabe9f50000)
          libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fabe9cc5000)
          libQt6Core.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6Core.so.6 (0x00007fabe9639000)
          libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007fabe93f5000)
          libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fabe8fd2000)
          libm.so.6 => /lib64/libm.so.6 (0x00007fabe8e87000)
          libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fabe8c68000)
          libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fabe8c44000)
          libc.so.6 => /lib64/libc.so.6 (0x00007fabe8a4f000)
          libffi.so.7 => /usr/lib64/libffi.so.7 (0x00007fabe8843000)
          libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fabe8630000)
          libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fabe83eb000)
          libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fabe80aa000)
          libdl.so.2 => /lib64/libdl.so.2 (0x00007fabe80a5000)
          libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fabe7f70000)
          libQt6DBus.so.6 => /opt/Qt/6.5.1/gcc_64/lib/libQt6DBus.so.6 (0x00007fabe7ea8000)
          libz.so.1 => /lib64/libz.so.1 (0x00007fabe7c91000)
          libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fabe79d3000)
          libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fabe79d0000)
          libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007fabe779f000)
          libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007fabe74e9000)
          libicui18n.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicui18n.so.56 (0x00007fabe704e000)
          libicuuc.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicuuc.so.56 (0x00007fabe6c96000)
          libicudata.so.56 => /opt/Qt/6.5.1/gcc_64/lib/libicudata.so.56 (0x00007fabe52b3000)
          librt.so.1 => /lib64/librt.so.1 (0x00007fabe52a9000)
          /lib64/ld-linux-x86-64.so.2 (0x00007fabeaa42000)
          libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fabe506a000)
          libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007fabe505f000)
          libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fabe4e36000)
          libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fabe4bad000)
          libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fabe495b000)
          libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007fabe473e000)
          libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fabe44fb000)
          libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fabe42f5000)
          libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007fabe4212000)
          liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007fabe3fd8000)
          libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007fabe3ea7000)
          liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007fabe3c86000)
          libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007fabe3a7a000)
          libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007fabe393c000)
          
            is there something missing ?
          

          thanks

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by JoeCFD
          #4

          @rienna no missing lib. The problem might be libwayland* version is too old that they do not include wl_proxy_marshal_flags. You may need to upgrade them.

          ===some people suggested:
          You can reinstall the wayland package to fix the listed errors
          https://bbs.archlinux.org/viewtopic.php?id=272846

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hayato_8810
            wrote on last edited by
            #5

            Hi, I encountered the same problem.

            @rienna
            Did you solve the problem?
            If you clould do, please let me know how to do that.

            @JoeCFD
            I reinstalled "libwayland-client0" and "libwayland-cursor0", but the problem still exist.
            Is there something wrong?

            H 1 Reply Last reply
            0
            • H hayato_8810

              Hi, I encountered the same problem.

              @rienna
              Did you solve the problem?
              If you clould do, please let me know how to do that.

              @JoeCFD
              I reinstalled "libwayland-client0" and "libwayland-cursor0", but the problem still exist.
              Is there something wrong?

              H Offline
              H Offline
              hayato_8810
              wrote on last edited by hayato_8810
              #6

              I left reults of this issue , the problem is fundamentally caused by the version of wayland as @JoeCFD mentionned.
              In my case, Ubuntu 20.04 and Qt 6.5.1 LTS was installed.
              The function "wl_proxy_marshal_flags" is defined in /src/wayland-client-core.h from Wayland ver.1.20, but the Ubuntu package does not support it. The supported version is 1.18 officially.
              https://ubuntu.pkgs.org/20.04/ubuntu-main-amd64/libwayland-client0_1.18.0-1_amd64.deb.html

              I tried to install new version wayland manually, but unsupported version of meson was required as well.
              https://gitlab.freedesktop.org/wayland/wayland/-/tree/main

              I have no other way to update Ubuntu to 22.04 and did that.

              1 Reply Last reply
              0
              • O Offline
                O Offline
                Okko Willeboordse
                wrote on last edited by
                #7

                Please refer to https://bugreports.qt.io/browse/QTBUG-114635

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  Vlad.P.
                  wrote on last edited by
                  #8

                  I caught the same problem with my Ubuntu 20.04 and Qt 6.7.1. I fixed it. You need to get the latest libwayland and build it.

                  I hope the next instructions helps you:

                  1. Download the source code from https://gitlab.freedesktop.org/wayland/wayland and checkout the latest version (in my case, it was 1.23.1)
                  2. Build with instructions from README.txt with PREFIX (the path to the library is in your system).
                  3. Create /etc/ld.so.conf.d/wayland.conf and put in it the path to your new wayland libs (in my case: /opt/wayland/lib64)
                  4. Do sudo ldconfig

                  I hope it helps.

                  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