RE: libnetsnmpagent.so.35: cannot open shared object file: No such file or directory

Peter Majdalani <[email protected]> Tue, 30 Jul 2024 19:53:28 +0000
Newsgroups gmane.network.net-snmp.devel
Message-ID <MN2PR09MB5787D830C1A7F3A11ACA6CCAC2B02@MN2PR09MB5787.namprd09.prod.outlook.com>
I ran "/usr/local/sbin/snmpd  -v" and that outputted "NET-SNMP version: 5.9=
.4.pre2"

/usr/sbin/snmpd was preinstalled on my system and I must have gotten the tw=
o confused.

I ran "ps -aux | grep snmpd" and confirmed that snmpd is running.

I ran the following to export an example MIB:
"export MIBS=3D+NET-SNMP-AGENT-MIB"

I ran the following command:
snmpwalk -v 3 -u linuser -l authPriv -a SHA -A linuserpass -x DES -X linpri=
vpass localhost" with the user settings I mentioned in my original post.

Im encountering the following:
"snmpwalk: Timeout"





-----Original Message-----
From: Niels Baggesen <[email protected]> =

Sent: Tuesday, July 30, 2024 3:29 PM
To: [email protected]
Subject: Re: libnetsnmpagent.so.35: cannot open shared object file: No such=
 file or directory

Den 30-07-2024 kl. 21:22 skrev Peter Majdalani:
 > It installed into /usr/local/bin

So why are you running /usr/sbin/snmpd and not /usr/local/sbin/snmpd?

How was /usr/sbin/snmpd installed on your system, and without the proper li=
braries?

 > A solution I tried was to make symbolic links inside the /usr/local/lib =
for the respective libnetsnmpagent.so.35 that link to their respective .so.=
40 links

A very bad idea, than will lead to endless problems.

/Niels

--
Niels Baggesen -- @home -- =C5rhus -- Denmark -- [email protected] The pur=
pose of computing is insight, not numbers  --  R W Hamming



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