Using the defaults, I would expect it to install into
/usr/local/{sbin,bin} ?
You probably need to rerun ldconfig after doing the install.
/Niels
Den 30-07-2024 kl. 16:03 skrev Peter Majdalani:
Hi,
I am currently trying to get net-snmp to work on my Ubuntu 20.04.6 Linux
machine.
I have downloaded net-snmp 5.9.4
I ran ./configure with all default settings
I ran `make`, no errors occurred
I then ran `sudo make install` as root, no errors occurred
I have the following user settings in the snmpd.conf:
`rouser linuser priv
createUser linuser SHA linuserpass DES linprivpass
rw user linadmin priv
rw user linadmin SHA linauthpass DES linprivpass`
When I run the following command:
`snmpwalk -v 3 -u linuser -l authPriv -a SHA -A linuserpass -x DES -X
linprivpass localhost`
It outputs:
“snmpwalk: Timeout”
When I run the following command:
`/usr/sbin/snmpd`
It outputs:
“/usr/sbin/snmpd: error while loading shared libraries:
libnetsnmp.so.35: cannot open shared object file: No such file or directory”
If and when I run the following command:
`ldd /usr/sbin/snmpd`
It outputs the following:
“linux-vdso.so.1 (0x00007ffec37ad000)
libnetsnmpagent.so.35 => not found
libnetsnmpmibs.so.35 => not found
libnetsnmp.so.35 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f34d86f000)
/lib64/ld-linux-x86_64.so.2”
Any ideas on how to fix this?
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
--
Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net
The purpose of computing is insight, not numbers -- R W Hamming
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders