Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 5.3.2 - Zlib dependency on Fedora Core 21
Forum Updated to NodeBB v4.3 + New Features

QT 5.3.2 - Zlib dependency on Fedora Core 21

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.3k 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
    Sidii
    wrote on last edited by
    #1

    Dear All,

    I am getting following errors:
    @
    /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_inflate' /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_inflateSetDictionary'
    /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_deflateEnd' /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_inflateInit_'
    /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_deflate' /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_inflateEnd'
    /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_deflateInit_' /root/SYSROM_SRC/lib/libQt5Network.so: undefined reference to z_inflateInit2_'
    collect2: error: ld returned 1 exit status
    @

    I am using QT5.3.2 on Fedora Core 21.
    I have also installed zlib package using yum as well as i have tried building it from source and then doing configure.

    The zlib.so file path is set in LD_LIBRARY_PATH as well as in LIBS in make file. But still this error is coming.

    Kindly help me out of this issue.

    Thanks

    Sid

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Have you installed zlib-devel package?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eresonance
        wrote on last edited by
        #3

        I was getting the exact same error. Running Fedora 21 with zlib-devel installed. It turned out to be some kind of library versioning issue from the pre-built qt5 creator I downloaded from qt.io and installed under /opt.

        Installing qt5-qtbase (and any qt5-qt* modules that you need for your project) via yum fixed this; you have to use the qt creator + qmake-qt5 that comes from the fedora repos, not the pre-built ones from the qt org.

        Once qt5 stuff is installed you can use them in qtcreator pretty easily, just google it for info on how to add different qt versions to qtcreator.

        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