dhcpd 4.x statically linked binaries
Shane_Kerr at isc.org
Thu May 31 12:30:55 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Ray Phillips wrote:
> I compile dhcpd 3.x with statically-linked binaries by appending `
> -static' to the `LIBS =' line in Makefile.conf. However, there is no
> Makefile.conf in the dhcp 4.x distribution and Makefile.in only
> mentions LIBS in this line
> LIBS = @LIBS@
> which I don't understand.
> How can I get statically-linked binaries for 4.x?
You can tell the configure script to use alternate compile options like so:
When I do this on my own box, I do get a bunch of warnings about various
functions which need shared libraries (getservent, gethostbyname, and so on), so
you may need to do more to get "true" static binaries (maybe I need to change
glibc somehow, or use uClibc).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the dhcp-users