Nmap Development mailing list archives

Re: Nmap 5.36TEST3 test release


From: David Fifield <david () bamsoftware com>
Date: Wed, 12 Jan 2011 17:27:47 -0800

On Wed, Jan 12, 2011 at 04:57:43PM -0800, Fyodor wrote:
On Wed, Jan 12, 2011 at 04:27:05PM -0800, David Fifield wrote:

I tried building a dynamically linked Nmap RPM and it works (built on
CentOS and run on Fedora). What's the reason that it's being linked
statically?

The theory was that it'd be more portable :).  Also, we can't
dynamically link things like OpenSSL or all hell will break loose if
the target system doesn't have that.  But maybe dynamically linking to
system libraries and static to everything else would be ideal?

Hmm, that might work. I resorted to something similar in linking Nping
for the Mac packages. I added a separate OPENSSL_LIBS variable to
nping/Makefile, so that I could override it with "<...>/libssl.a
<...>/libcrypto.a <...>/libz.a".

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: