[Dnsmasq-discuss] dnsmasq compilation and dependencies
Geert Stappers
stappers at stappers.nl
Wed Jun 12 18:26:42 BST 2019
On Wed, Jun 12, 2019 at 03:19:04PM +0000, SALA MASSIMO wrote:
> Hi
>
>
> I have some servers with linux 2.6.18.
>
> I know... but I cannot upgrade because of legacy applications,
> it's ok for us, they are only for intranet usage.
>
>
> Pls a few questions:
>
> 1) configure and compile vs dnsmasq --help
>
>
> I want only the DNS daemon, a minimal version (not authoritative).
>
> I tried this:
>
> make COPTS="-DNO_AUTH DNO_DHCP -DNO_INOTIFY -DNO_IPV6 -DNO_SCRIPT -DNO_TFTP"
>
> and it succeded.
>
>
> However running
>
> src/dnsmasq --help
>
> I still see some options regarding the excluded features (like dhcp).
>
> Is this ok ?
>
Please, compare
make COPTS="-DNO_AUTH DNO_DHCP -DNO_INOTIFY -DNO_IPV6 -DNO_SCRIPT -DNO_TFTP"
with
make COPTS="-DNO_AUTH -DNO_DHCP -DNO_INOTIFY -DNO_IPV6 -DNO_SCRIPT -DNO_TFTP"
> 2) dependencies
>
>
> >From the http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
>
> I don't understand the dependencies on shared libraries.
>
>
> Example: an excerpt from ver 2.79
>
> Tidy up Crypto code, removing workarounds for ancient
> versions of libnettle. We now require libnettle 3.
>
>
> With the aforementioned options (1), is libnettled required?
>
> The output of ldd src/dnsmasq shows only
>
> linux-vdso.so.1 => (0x00002aaaaaaab000)
> libc.so.6 => /lib64/libc.so.6 (0x0000003ed4800000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003ed4400000)
>
>
> On linux 2.6.18 I tried to download and compile libnettle3, but there are too many broken dependencies.
> Is it possibile to use dnsmasq 2.80 without this library?
Groeten
Geert Stappers
--
Leven en laten leven
More information about the Dnsmasq-discuss
mailing list