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. GammaRay build Error on ubuntu

GammaRay build Error on ubuntu

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
9 Posts 4 Posters 3.0k Views 1 Watching
  • 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
    sz_y
    wrote on last edited by
    #1

    Hi,I want to build GammaRay from source on ubuntu;
    when execute make command I get the error below:
    scanning dependencies of target gammaray_webinspector_ui_plugin
    [ 75%] Building CXX object plugins/webinspector/CMakeFiles/gammaray_webinspector_ui_plugin.dir/gammaray_webinspector_ui_plugin_autogen/mocs_compilation.cpp.o
    [ 75%] Building CXX object plugins/webinspector/CMakeFiles/gammaray_webinspector_ui_plugin.dir/webinspectorwidget.cpp.o
    [ 75%] Building CXX object plugins/webinspector/CMakeFiles/gammaray_webinspector_ui_plugin.dir/moc_webinspectorwidget.cpp.o
    [ 75%] Linking CXX shared module ../../lib/gammaray/2.11/qt5_12-x86_64/gammaray_webinspector_ui_plugin.so
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 3 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 4 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 5 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 6 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 7 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 8 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 9 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 10 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 11 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 12 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 13 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 14 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 15 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 16 (>= sh_info of 3)
    /usr/bin/ld: /home/yanshizhen/Qt5.12.3/5.12.3/gcc_64/lib/libQt5WebEngineCore.so.5.12.3: .dynsym local symbol at index 17 (>= sh_info of 3)
    collect2: error: ld returned 1 exit status
    make[2]: *** [plugins/webinspector/CMakeFiles/gammaray_webinspector_ui_plugin.dir/build.make:136: lib/gammaray/2.11/qt5_12-x86_64/gammaray_webinspector_ui_plugin.so] Error 1
    make[1]: *** [CMakeFiles/Makefile2:9107: plugins/webinspector/CMakeFiles/gammaray_webinspector_ui_plugin.dir/all] Error 2
    make: *** [Makefile:163: all] Error 2

    what is the error? How to resolve it?
    thank you!

    1 Reply Last reply
    0
    • guerinoniG Offline
      guerinoniG Offline
      guerinoni
      wrote on last edited by
      #2

      Maybe in your Qt configuration QtWebengine missing

      S 1 Reply Last reply
      2
      • guerinoniG guerinoni

        Maybe in your Qt configuration QtWebengine missing

        S Offline
        S Offline
        sz_y
        wrote on last edited by
        #3

        @guerinoni
        QT version: qt-opensource-linux-x64-5.12.3
        ubuntu version:ubuntu-19.10-desktop-amd64

        guerinoniG 1 Reply Last reply
        0
        • S sz_y

          @guerinoni
          QT version: qt-opensource-linux-x64-5.12.3
          ubuntu version:ubuntu-19.10-desktop-amd64

          guerinoniG Offline
          guerinoniG Offline
          guerinoni
          wrote on last edited by
          #4

          @sz_y said in GammaRay build Error on ubuntu:

          qt-opensource-linux-x64-5.12.3

          try to use maintenance tool because you need QtWebengine

          S 1 Reply Last reply
          2
          • guerinoniG guerinoni

            @sz_y said in GammaRay build Error on ubuntu:

            qt-opensource-linux-x64-5.12.3

            try to use maintenance tool because you need QtWebengine

            S Offline
            S Offline
            sz_y
            wrote on last edited by
            #5

            @guerinoni can you be more specific?
            Thank you!

            jsulmJ 1 Reply Last reply
            0
            • S sz_y

              @guerinoni can you be more specific?
              Thank you!

              jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @sz_y Qt Webengine is not installed by default, that's why @guerinoni suggested to open the Qt Maintenance Tool and select/install Qt Webengine there for your Qt version. Qt Maintenance Tool is in your Qt installation folder.

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

              guerinoniG 1 Reply Last reply
              1
              • jsulmJ jsulm

                @sz_y Qt Webengine is not installed by default, that's why @guerinoni suggested to open the Qt Maintenance Tool and select/install Qt Webengine there for your Qt version. Qt Maintenance Tool is in your Qt installation folder.

                guerinoniG Offline
                guerinoniG Offline
                guerinoni
                wrote on last edited by
                #7

                @jsulm @sz_y Yes, thanks to enforcing my answer, for developer Qt Maintenance is very useful instead installig every package by hand

                S 1 Reply Last reply
                0
                • guerinoniG guerinoni

                  @jsulm @sz_y Yes, thanks to enforcing my answer, for developer Qt Maintenance is very useful instead installig every package by hand

                  S Offline
                  S Offline
                  sz_y
                  wrote on last edited by
                  #8

                  @guerinoni @jsulm Thank you! After I reinstall ubuntu of version ubuntu-18.04.3-desktop-amd64,the error is not appear;Maybe the ubuntu-19.10-desktop-amd64 have some problems in supporting QT.

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    franz_ff
                    wrote on last edited by franz_ff
                    #9

                    Hello, I have the same problem as above:

                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 3 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 4 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 5 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 6 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 7 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 8 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 9 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 10 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 11 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 12 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 13 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 14 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 15 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 16 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 17 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 3 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 4 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 5 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 6 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 7 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 8 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 9 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 10 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 11 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 12 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 13 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 14 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 15 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 16 (>= sh_info of 3)
                    /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 17 (>= sh_info of 3)

                    This only happens on the first run after I have changed some code, every re-run of the same stage of code starts directly.
                    The QtWebEngine is installed, I already tried to remove and reinstall it, but that does not help. Neither does another version of Qt help.
                    It also is correctly linked in the kit-settings.

                    I am pretty sure that it worked before I updated my version of Qt, therefore I don't think it is a problem with ubuntu 19.10.
                    When I ignore this error my programm runs perfeclty fine, but it is pretty annoying to always click the 'proceed/ignore errors' button after each new build.

                    I am thankful for any suggestions on how I can solve this problem.
                    And sorry for kind of gravedigging this, but this was the most promising google hit.

                    Edit:

                    configuring the gold linker with the command:
                    sudo ln -sf /usr/bin/x86_64-linux-gnu-ld.gold /usr/bin/ld

                    found here:
                    https://cristianadam.eu/20170709/speeding-up-cmake/

                    did the job, the errors are gone.

                    1 Reply Last reply
                    4

                    • Login

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