Re: Unable to compile net-snmp due to netlink API change

Craig Small via Net-snmp-coders <[email protected]> Wed, 3 Apr 2024 07:40:30 +1100
Newsgroups gmane.network.net-snmp.devel
Message-ID <CALy8Cw4pgN7TO46-Pox73EUp12k+LARPnEo6YbSALCMUteUyuw@mail.gmail.com>
On Wed, 3 Apr 2024 at 02:19, Bart Van Assche <[email protected]> wrote:

> Can you please check the configure script logs to see why libnl-3 was
> not detected?
>
libnl-3 was detected:
configure:27875: $PKG_CONFIG --exists --print-errors "libnl-3.0"
configure:27878: $? = 0
configure:27936: result: yes

But libnl-route-3.0 was not:
configure:27942: $PKG_CONFIG --exists --print-errors "libnl-route-3.0"
Package libnl-route-3.0 was not found in the pkg-config search path.

I added libnl-route-3-dev and it compiled ok.

There's something not quite right with the configure script, because it
evaluates
libnl-3 + !libnl-route-3 = libnl1
instead of failing.

 - Craig

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders