[Dnsmasq-discuss] Announce 2.85rc1 and security warning.

Daniel tech at tootai.net
Fri Mar 19 18:29:04 UTC 2021


Hi

Le 18/03/2021 à 13:04, Petr Menšík a écrit :
> Hi.
>
> It seems this should be reported to nettle (development) package.
> "pkg-config --libs  nettle hogweed" should report all required
> libraries. I am not sure how it could be improved on dnsmasq side.
>
> Does it use any defines enabling gmp usage on compilation time?

I don't know, not so involved in compilation process. I googleled a bit 
and saw that this error appears since years. I took exemple from this 
makefiel line

gmp_libs =      `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC 
NO_GMP --copy -lgmp`

Cheers

>
> On 3/18/21 9:38 AM, Daniel via Dnsmasq-discuss wrote:
>> Hello
>>
>> Le 17/03/2021 à 22:48, Simon Kelley a écrit :
>>> [...]
>>>
>>> https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.85rc1.tar.gz
>>>
>> Thanks Simon. FYI I didn't get it compiled (as well as 2,84) on Debian
>> Buster getting
>>
>> cc  -o dnsmasq cache.o rfc1035.o util.o option.o forward.o network.o
>> dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o
>> tftp.o log.o conntrack.o dhcp6.o rfc3315.o dhcp-common.o outpacket.o
>> radv.o slaac.o auth.o ipset.o domain.o dnssec.o blockdata.o tables.o
>> loop.o inotify.o poll.o rrfilter.o edns0.o arp.o crypto.o dump.o ubus.o
>> metrics.o hash_questions.o -ldbus-1   -lidn  -lnetfilter_conntrack
>> -lnfnetlink -llua5.2 -lnettle -lhogweed
>> /usr/bin/ld: crypto.o: undefined reference to symbol '__gmpz_init'
>> /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libgmp.so.10: error adding
>> symbols: DSO manquant dans la ligne de commande
>> collect2: error: ld returned 1 exit status
>>
>> It's working by adding -lgmp to nettle_cflags and nettle_libs
>>
>> nettle_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC
>> $(PKG_CONFIG) --cflags 'nettle hogweed' -lgmp\
>> HAVE_CRYPTOHASH $(PKG_CONFIG) --cflags nettle \
>> HAVE_NETTLEHASH $(PKG_CONFIG) --cflags nettle`
>> nettle_libs =   `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC
>> $(PKG_CONFIG) --libs 'nettle hogweed' -lgmp\
>> HAVE_CRYPTOHASH $(PKG_CONFIG) --libs nettle \
>> HAVE_NETTLEHASH $(PKG_CONFIG) --libs nettle`
>>
>> Cheers
>>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

-- 
Daniel Huhardeaux
+33.368460088 at tootai.net	      sip:820 at sip.tootai.net
+41.445532125 at swiss-itech.ch		    tootaiNET

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210319/30e758b3/attachment.htm>


More information about the Dnsmasq-discuss mailing list