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. Error on build with Static Qt 5.9.0
Forum Updated to NodeBB v4.3 + New Features

Error on build with Static Qt 5.9.0

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

    Using ubuntu 18.04LTS
    Static qt5.9.0
    create a simple ui program and build with static Qt 5.9.0
    build error********************************
    14:46:39: Running steps for project CHECK_static...
    14:46:39: Starting: "/home/Data/Qt_Static/bin/qmake" /home/Data/CHECK_static/CHECK_static.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug -o /home/Data/LOG.txt
    14:46:39: The process "/home/Data/Qt_Static/bin/qmake" exited normally.
    14:46:39: Starting: "/usr/bin/make" qmake_all
    make: Nothing to be done for 'qmake_all'.
    14:46:39: The process "/usr/bin/make" exited normally.
    14:46:39: Starting: "/usr/bin/make"
    g++ -o CHECK_static main.o mainwindow.o check_static_plugin_import.o moc_mainwindow.o -L/home/Data/Qt_Static/plugins/platforms -lqwayland-egl -L/home/Data/Qt_Static/lib -L/usr/local/lib -lwayland-egl -lqwayland-generic -lqwayland-xcomposite-egl -lqwayland-xcomposite-glx -lQt5WaylandClient -lXcomposite -lwayland-client -lwayland-cursor -lqxcb -L/home/Data/Qt_Static/plugins/xcbglintegrations -lqxcb-egl-integration -lqxcb-glx-integration -lQt5XcbQpa -lxcb-xinerama -lQt5LinuxAccessibilitySupport -lQt5AccessibilitySupport -lQt5GlxSupport -lxcb-xkb -lxcb-sync -lxcb-xfixes -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxcb-glx -lXi -lSM -lICE -lxcb-render-util -lxcb-render -lxkbcommon-x11 -L/home/Data/Qt_Static/plugins/imageformats -lqgif -lqicns -lqico -lqtga -lqtiff -ltiff -lqwbmp -lqwebp -L/home/Data/Qt_Static/plugins/egldeviceintegrations -lqeglfs-emu-integration -lqeglfs-kms-egldevice-integration -lQt5EglFsKmsSupport -lQt5KmsSupport -ldrm -lqeglfs-x11-integration -lQt5EglFSDeviceIntegration -lQt5EventDispatcherSupport -lQt5ServiceSupport -lQt5ThemeSupport -lQt5DBus -ldbus-1 -lQt5FontDatabaseSupport -lqtfreetype -lQt5FbSupport -lQt5EglSupport -lXext -lQt5InputSupport -lmtdev -linput -lxkbcommon -lQt5PlatformCompositorSupport -lQt5DeviceDiscoverySupport -ludev -lxcb -lX11 -lX11-xcb -lEGL -lQt5Widgets -lQt5Gui -lqtlibpng -lharfbuzz -lQt5Core -licui18n -licuuc -licudata -lm -lrt -lqtpcre2 -ldl -lgthread-2.0 -lglib-2.0 -lGL -lpthread
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libtiff.so: undefined reference to symbol 'inflateEnd'
    //usr/local/lib/libz.so.1: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:333: recipe for target 'CHECK_static' failed
    make: *** [CHECK_static] Error 1
    14:46:42: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project CHECK_static (kit: QT 5.9.0 Static)
    When executing step "Make"
    14:46:42: Elapsed time: 00:03.

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

      Hi,

      Is it me or do you have a custom libz installed on your system ?

      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
      0
      • A Offline
        A Offline
        anil_arise
        wrote on last edited by
        #3

        solved by ./configure with -qt-zlib option.

        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