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. Static Build Error on ubuntu 18.04
Forum Updated to NodeBB v4.3 + New Features

Static Build Error on ubuntu 18.04

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 3 Posters 1.1k 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.
  • A Offline
    A Offline
    anil_arise
    wrote on last edited by anil_arise
    #1

    make[3]: Entering directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools/qml'
    g++ -Wl,--gc-sections -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o ../../bin/qml .obj/main.o .obj/qml_qml_plugin_import.o .obj/qml_plugin_import.o .obj/qrc_qml.o .obj/moc_conf.o -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/lib -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/lib -lQt5Widgets -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/plugins/qmltooling -lqmldbg_debugger -lqmldbg_inspector -lqmldbg_local -lqmldbg_native -lqmldbg_profiler -lqmldbg_quickprofiler -lQt5Quick -lqmldbg_server -lQt5PacketProtocol -lqmldbg_tcp -lQt5Qml -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5Network -lproxy -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtwayland/plugins/platforms -lcustom-wayland -L/usr/local/lib -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtwayland/lib -lqwayland-egl -lwayland-egl -lqwayland-generic -lQt5WaylandClient -lwayland-client -lwayland-cursor -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/platforms -lqxcb -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/xcbglintegrations -lqxcb-egl-integration -lqxcb-glx-integration -lxcb-glx -lQt5XcbQpa -lXi -lxcb-render -lxcb-render-util -lSM -lICE -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms -lxcb-xinerama -lxcb-xkb -lxkbcommon-x11 -lxkbcommon -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtimageformats/plugins/imageformats -lqdds -lqicns -lqtga -lqtiff -lqwbmp -lqwebp -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/imageformats -lqico -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/egldeviceintegrations -lqeglfs-x11-integration -lX11-xcb -lxcb -lQt5EglDeviceIntegration -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus -ldbus-1 -lXrender -lXext -lX11 -ludev -lQt5Gui -lharfbuzz -lQt5Core -licui18n -licuuc -licudata -lqtpcre -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -lrt -lEGL -lGL -lpthread
    /usr/bin/ld.gold: error: cannot find -lcustom-wayland
    /usr/bin/ld.gold: error: cannot find -lqwayland-egl
    /usr/bin/ld.gold: error: cannot find -lqwayland-generic
    collect2: error: ld returned 1 exit status
    Makefile:113: recipe for target '../../bin/qml' failed
    make[3]: *** [../../bin/qml] Error 1
    make[3]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools/qml'
    Makefile:98: recipe for target 'sub-qml-make_first' failed
    make[2]: *** [sub-qml-make_first] Error 2
    make[2]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools'
    Makefile:70: recipe for target 'sub-tools-make_first' failed
    make[1]: *** [sub-tools-make_first] Error 2
    make[1]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative'
    Makefile:329: recipe for target 'module-qtdeclarative-make_first' failed
    make: *** [module-qtdeclarative-make_first] Error 2

    I follow process
    at make i get these errors

    jsulmJ 1 Reply Last reply
    0
    • A anil_arise

      make[3]: Entering directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools/qml'
      g++ -Wl,--gc-sections -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o ../../bin/qml .obj/main.o .obj/qml_qml_plugin_import.o .obj/qml_plugin_import.o .obj/qrc_qml.o .obj/moc_conf.o -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/lib -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/lib -lQt5Widgets -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/plugins/qmltooling -lqmldbg_debugger -lqmldbg_inspector -lqmldbg_local -lqmldbg_native -lqmldbg_profiler -lqmldbg_quickprofiler -lQt5Quick -lqmldbg_server -lQt5PacketProtocol -lqmldbg_tcp -lQt5Qml -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5Network -lproxy -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtwayland/plugins/platforms -lcustom-wayland -L/usr/local/lib -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtwayland/lib -lqwayland-egl -lwayland-egl -lqwayland-generic -lQt5WaylandClient -lwayland-client -lwayland-cursor -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/platforms -lqxcb -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/xcbglintegrations -lqxcb-egl-integration -lqxcb-glx-integration -lxcb-glx -lQt5XcbQpa -lXi -lxcb-render -lxcb-render-util -lSM -lICE -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms -lxcb-xinerama -lxcb-xkb -lxkbcommon-x11 -lxkbcommon -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtimageformats/plugins/imageformats -lqdds -lqicns -lqtga -lqtiff -lqwbmp -lqwebp -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/imageformats -lqico -L/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtbase/plugins/egldeviceintegrations -lqeglfs-x11-integration -lX11-xcb -lxcb -lQt5EglDeviceIntegration -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus -ldbus-1 -lXrender -lXext -lX11 -ludev -lQt5Gui -lharfbuzz -lQt5Core -licui18n -licuuc -licudata -lqtpcre -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -lrt -lEGL -lGL -lpthread
      /usr/bin/ld.gold: error: cannot find -lcustom-wayland
      /usr/bin/ld.gold: error: cannot find -lqwayland-egl
      /usr/bin/ld.gold: error: cannot find -lqwayland-generic
      collect2: error: ld returned 1 exit status
      Makefile:113: recipe for target '../../bin/qml' failed
      make[3]: *** [../../bin/qml] Error 1
      make[3]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools/qml'
      Makefile:98: recipe for target 'sub-qml-make_first' failed
      make[2]: *** [sub-qml-make_first] Error 2
      make[2]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative/tools'
      Makefile:70: recipe for target 'sub-tools-make_first' failed
      make[1]: *** [sub-tools-make_first] Error 2
      make[1]: Leaving directory '/home/Soft/Downloads/qt-everywhere-opensource-src-5.7.0/qtdeclarative'
      Makefile:329: recipe for target 'module-qtdeclarative-make_first' failed
      make: *** [module-qtdeclarative-make_first] Error 2

      I follow process
      at make i get these errors

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

      @anil_arise said in Static Build Error on ubuntu 18.04:

      /usr/bin/ld.gold: error: cannot find -lcustom-wayland
      /usr/bin/ld.gold: error: cannot find -lqwayland-egl
      /usr/bin/ld.gold: error: cannot find -lqwayland-generic

      You're missing these libraries, install them first

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

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @anil_arise said in Static Build Error on ubuntu 18.04:

        /usr/bin/ld.gold: error: cannot find -lcustom-wayland
        /usr/bin/ld.gold: error: cannot find -lqwayland-egl
        /usr/bin/ld.gold: error: cannot find -lqwayland-generic

        You're missing these libraries, install them first

        A Offline
        A Offline
        anil_arise
        wrote on last edited by
        #3

        @jsulm said in Static Build Error on ubuntu 18.04:

        custom-wayland

        not found libcustom-wayland ,libqwayland-egl and libqwayland-generic

        already installed wayland and qtwayland

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          What exact parameters did you pass to configure ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            What exact parameters did you pass to configure ?

            A Offline
            A Offline
            anil_arise
            wrote on last edited by
            #5

            @SGaist sudo ./configure -static -release -nomake examples -nomake tools --prefix=/home/QT/Qt_Static/ -system-xcb -qt-libpng -no-libjpeg -qt-zlib -qt-pcre -gtk -opensource -confirm-license -opengl -qt-freetype -pulseaudio -alsa

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Why are you using sudo ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1

              • Login

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