Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637514 - net-analyzer/nmap-9999 : nse_zlib.o: undefined reference to symbol 'deflateInit2_'
Summary: net-analyzer/nmap-9999 : nse_zlib.o: undefined reference to symbol 'deflateIn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 18:36 UTC by Daniel M. Weeks
Modified: 2017-11-18 12:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2017-11-14 18:36:20 UTC
I believe this build failure occurs when USE="nse -libssh2" as a result of upstream b57d23f005ee8a22792ecfb0d6e506a139f8c757 combined with the ebuild tying --with-zlib to libssh2.

With USE="nse -libssh" -lz is missing during linking with nds_zlib.o.

USE=nse now also requires configure --with-zlib.

It does not appear any released version of nmap is affected at this time.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-11-18 12:33:48 UTC
The actual problem is that --with-zlib defines ZLIB_LIBS but Makefile.in inexplicably uses LIBZLIB_LIBS.