[Dnsmasq-discuss] dnsmasq compilation and dependencies

john doe johndoe65534 at mail.com
Wed Jun 12 17:44:49 BST 2019


On 6/12/2019 5:19 PM, 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 ?
>
>

We would need the output of the command .

>
> 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?
>

Yes, above 3.0.

> 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?
>

Looks like you are out of luck here.

--
John Doe



More information about the Dnsmasq-discuss mailing list