Not sure how to get rid of the libnetsnmpmibs.so,
But you might try the configure option: '--disable-applications' to get rid
of the libsnmptrapd.so

>From configure help:

  --disable-applications          Do not build the apps (snmpget, ...).


On Sun, Jun 13, 2021 at 10:13 AM Weiland, Nicholas <nweil...@idirectgov.com>
wrote:

> Hello,
>
>
>
> We would like to compile the net snmp 5.8 libs (
> https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz/download)
> without any crypto/ssl support whatsoever. Currently I have tried the
> following configure options:
>
>       '--disable-embedded-perl',
>
>                     '--without-perl-modules',
>
>                     '--with-persistent-directory=/tmp/snmp-persistence',
>
>                     '--with-logfile=/var/log/snmp.log',
>
>                     '--with-default-snmp-version=3',
>
>                     '--without-openssl',
>
>                     '--disable-md5',
>
>                     '--disable-privacy',
>
>                     '--disable-des'
>
>
>
> The –without-openssl flag gets the build to the point where most of the
> libcrypto.so.1.1 and libssl.so.1.1 links are gone. The ones below it don’t
> seem to do anything effecting link libs.
>
>
>
> Of the following libraries --
>
> libnetsnmpagent.so.35
>
> libnetsnmphelpers.so.35
>
> libnetsnmpmibs.so.35
>
> libnetsnmp.so.35
>
> libnetsnmptrapd.so.35
>
>
>
> libnetsnmpmibs.so.35 and libnetsnmptrapd.so.35 still have links to
> libcrypto.so.1.1 (but not libssl.so.1.1). I would like to know if there are
> any configuration flags I missed that would fix this for us, or if there is
> any manual hack that would get around the issue. This was not an issue in
> older versions of snmp libraries (namely we’ve used snmp 5.5). We do not
> use libnetsnmpmibs or libnetsnmptrapd. If there is a way to exclude them
> from being built that would also solve the issue.
>
>
>
> Thank you,
>
>
>
> Nicholas Weiland
> ------------------------------
>
> This electronic message and any files transmitted with it contains
> information from iDirect Government, LLC, which may be privileged,
> proprietary and/or confidential. It is intended solely for the use of the
> individual or entity to whom they are addressed. If you are not the
> original recipient or the person responsible for delivering the email to
> the intended recipient, be advised that you have received this email in
> error, and that any use, dissemination, forwarding, printing, or copying of
> this email is strictly prohibited. If you received this email in error,
> please delete it and immediately notify the sender.
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to