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

2024-07-30 Thread Peter Majdalani
It installed into /usr/local/bin I ran "sudo ldconfig" and it still outputs the same error for command "/usr/sbin/snmpd": “/usr/sbin/snmpd: error while loading shared libraries: libnetsnmp.so.35: cannot open shared object file: No such file or directory” inside the /usr/local/lib directory are

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

2024-07-30 Thread Peter Majdalani
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 two confused. I ran "ps -aux | grep snmpd" and confirmed that snmpd is running. I ran the following to export an example MIB: "export MIB

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

2024-07-30 Thread Niels Baggesen
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 libraries? > A solution I tried was to make symbolic links inside t

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

2024-07-30 Thread Niels Baggesen
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 do

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

2024-07-30 Thread 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 th