Orbitalextension uses zlib but does not link to it

Bugs item #2802238, was opened at 2009-06-06 15:25
Message generated for change (Tracker Item Submitted) made by mbanck
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2802238&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building / Install
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Banck (mbanck)
Assigned to: Nobody/Anonymous (nobody)
Summary: orbitalextension uses zlib but does not link to it

Initial Comment:
Avogadro-0.9.6 fails to build.

Orbitalextension uses the qtiocompressor source, which calls a zlib symbol (zlibVersion()), but neither link to zlib.

This probably has gone unnoticed because Qt by default add -lz to its Libs: line; however Debian adds a “QMAKE_LFLAGS -Wl,–as-needed” to strip uneeded libraries from the .pc files.

As zlib is explicitely used, the orbital extension must link to it.


You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2802238&group_id=165310