Hello again,
  The issue was tied up with libtool and how Debian's is slightly
different. link_all_deplibs is set to no so you explicitly need to put the
libraries.
Anyway, the change was to add $(AGENTLIB) to the linker line for
libnetsnmptrapd in apps/Makefile.in

The result is I can Debian package linking to either libssl1.1 or libssl3
:)

libsnmp40_5.9.2~pre1+dfsg-1_amd64.deb
 Depends: libc6 (>= 2.33), libpci3 (>= 1:3.5.1), libperl5.34 (>= 5.34.0),
libsensors5 (>= 1:3.5.0), *libssl1.1* (>= 1.1.0), libwrap0 (>= 7.6-4~),
libsnmp-base
libsnmp40_5.9.2~pre1+dfsg-2_amd64.deb
 Depends: libc6 (>= 2.33), libpci3 (>= 1:3.5.1), libperl5.34 (>= 5.34.0),
libsensors5 (>= 1:3.5.0), *libssl3* (>= 3.0.1-1), libwrap0 (>= 7.6-4~),
libsnmp-base

 - Craig
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to