[Buildroot] [PATCH 1/1] netsnmp: fix static build with openssl

Giulio Benetti giulio.benetti at micronovasrl.com
Mon Sep 17 20:37:30 UTC 2018


Hello Fabrice, all,

Il 09/09/2018 15:09, Thomas Petazzoni ha scritto:
> Hello,
> 
> On Sun, 9 Sep 2018 14:43:41 +0200, Fabrice Fontaine wrote:
> 
>> Because the last time I tried to use pkg-config, the upstream project
>> decided to refuse the merge request and use ac_search_libs instead:
>> https://gitlab.com/muttmua/mutt/merge_requests/25 :-(
> 
> I think in such cases, we should propose a patch that uses pkg-config
> if available, and if not falls back to AC_CHECK_LIB or other macros. If
> pkg-config is available, then static linking will work, if not, it will
> continue to fail like it used to.
> 
>> I know that netsnmp is already using pkg-config, but only for libnl perhaps
>> they would agree to use it also for ssl. I'll ask them and if they agree
>> I'll update my patch.
> 
> Sure. Thanks!
> 
> Thomas
> 

During this day I've submit a patch to net-snmp upstream,
then they've corrected it.
After they committed another patch.
And now I'm waiting for Merge Request to be accepted to fix this bug.

It was a mixture of problem:
- lack of -lssl in checking during configure(mainly DTLS support)
- lack of -lz in checking during configure for a bunch of functions

I'm going to take over and send BR patch I've done in-reply-to this.

Best regards
-- 
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642


More information about the buildroot mailing list