libnetsnmpagent.so.35: cannot open shared object file: No such file or directory
Peter Majdalani <[email protected]> Tue, 30 Jul 2024 14:03:28 +0000
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <MN2PR09MB57874503FF8607D10CAF3852C2B02@MN2PR09MB5787.namprd09.prod.outlook.com> |
--===============5488001986589667761==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_MN2PR09MB57874503FF8607D10CAF3852C2B02MN2PR09MB5787namp_"
--_000_MN2PR09MB57874503FF8607D10CAF3852C2B02MN2PR09MB5787namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I am currently trying to get net-snmp to work on my Ubuntu 20.04.6 Linux ma=
chine.
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 linpr=
ivpass 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: c=
annot 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 =3D> not found
libnetsnmpmibs.so.35 =3D> not found
libnetsnmp.so.35 =3D> not found
libc.so.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 (0x00007f34d86f000)
/lib64/ld-linux-x86_64.so.2"
Any ideas on how to fix this?
--_000_MN2PR09MB57874503FF8607D10CAF3852C2B02MN2PR09MB5787namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<br>
<br>
I am currently trying to get net-snmp to work on my Ubuntu 20.04.6 Linux ma=
chine.<br>
<br>
I have downloaded net-snmp 5.9.4<br>
I ran ./configure with all default settings<br>
I ran `make`, no errors occurred<br>
I then ran `sudo make install` as root, no errors occurred<br>
<br>
I have the following user settings in the snmpd.conf:<br>
`rouser linuser priv<br>
createUser linuser SHA linuserpass DES linprivpass<o:p></o:p></p>
<p class=3D"MsoNormal"> rw user linadmin priv<br>
rw user linadmin SHA linauthpass DES linprivpass`<br>
<br>
When I run the following command:<br>
<br>
`snmpwalk -v 3 -u linuser -l authPriv -a SHA -A linuserpass -x DES -X linpr=
ivpass localhost`<br>
<br>
It outputs:<br>
“snmpwalk: Timeout”<br>
<br>
When I run the following command:<br>
`/usr/sbin/snmpd`<br>
<br>
It outputs:<br>
“/usr/sbin/snmpd: error while loading shared libraries: libnetsnmp.so=
.35: cannot open shared object file: No such file or directory”<br>
<br>
If and when I run the following command:<br>
`ldd /usr/sbin/snmpd`<br>
<br>
It outputs the following:<br>
“linux-vdso.so.1 (0x00007ffec37ad000)<br>
libnetsnmpagent.so.35 =3D> not found<br>
libnetsnmpmibs.so.35 =3D> not found<br>
libnetsnmp.so.35 =3D> not found<br>
libc.so.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 (0x00007f34d86f000)<br>
/lib64/ld-linux-x86_64.so.2”<br>
<br>
Any ideas on how to fix this? <o:p></o:p></p>
</div>
</body>
</html>
--_000_MN2PR09MB57874503FF8607D10CAF3852C2B02MN2PR09MB5787namp_--
--===============5488001986589667761==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5488001986589667761==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
--===============5488001986589667761==--