how to reduce the size of the executable dhcpd of ISC????

Glenn Satchell glenn.satchell at uniq.com.au
Tue Jan 3 00:43:37 UTC 2012


Hi Ameen

dhcpd includes the static DNS libraries from the bind sub-directory. You
might be able to exclude this with various options to ./configure such as:

--with-libbind=PATH     bind includes and libraries are in PATH (default is
                          ./bind)

Not sure if --without-libbind will work, but maybe worth a try if you
don't require dynamic dns updates?

regards,
-glenn

> Hi all,
>
> I have stripped and listed the executable size of ISC DHCP server(1.5M)
> and relay(1.2M).Please have a look.
>
> [ameen at nemo server]$ armv5b-linux-strip dhcpd
> [ameen at nemo server]$ ls -l dhcpd
> -rwxrwxr-x 1 ameen ameen 1564452 Dec 28 16:06 dhcpd
>
>
>
> [ameen at nemo relay]$ armv5b-linux-strip dhcrelay
> [ameen at nemo relay]$ ls -l dhcrelay
> -rwxrwxr-x 1 ameen ameen 1295312 Dec 28 16:06 dhcrelay
>
>
> Even though the size of dhcpd and dhcrelay is huge according to our
> requirements.
>
> Is there any way to reduce the executable(dhcpd and dhcrelay) to much
> smaller size.
>
>
> Please let me know.
>
>
>
> Regards,
> Ameen S
>
>
>





More information about the dhcp-users mailing list