Re: subagnet can not find libnetsnmpmibs.so.9

This is a discussion on Re: subagnet can not find libnetsnmpmibs.so.9 within the SNMP Users forums, part of the Networking and Network Related category; ------=_Part_13769_14406088.1129971028889 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi, u ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-22-2005
Ryan guo
 
Posts: n/a
Default Re: subagnet can not find libnetsnmpmibs.so.9

------=_Part_13769_14406088.1129971028889
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

hi, u needn't do that and ,just copy such files to /usr/lib and /usr/lib64
and retry it,may be ur subagent search these two directories and didn't fin=
d
it and arose a error,try it!


On 10/22/05, Lee Rick <rickmaillist@gmail.com> wrote:
>
> yes, I find it in /usr/local/lib, ls result is:
> [root@localhost net-snmp-5.2.2.pre4]# ls /usr/local/lib
> libnetsnmp.a libnetsnmphelpers.so.9 libnetsnmp.so.9
> libnetsnmpagent.a libnetsnmphelpers.so.9.0.0 libnetsnmp.so.9.0.0
> libnetsnmpagent.la <http://libnetsnmpagent.la> libnetsnmp.la<http://libne=

tsnmp.la>
> libnetsnmptrapd.a
> libnetsnmpagent.so libnetsnmpmibs.a libnetsnmptrapd.la<http://libnetsnmpt=

rapd.la>
> libnetsnmpagent.so.9 libnetsnmpmibs.la <http://libnetsnmpmibs.la>
> libnetsnmptrapd.so
> libnetsnmpagent.so.9.0.0 libnetsnmpmibs.so libnetsnmptrapd.so.9
> libnetsnmphelpers.a libnetsnmpmibs.so.9 libnetsnmptrapd.so.9.0.0
> libnetsnmphelpers.la <http://libnetsnmphelpers.la> libnetsnmpmibs.so.9.0.=

0
> libnetsnmphelpers.so libnetsnmp.so
>
> here's another little problem,
> how to uninstall the package? I compile and install it by source
> code ,not by RPM package.just delete related files and directories?
>
> thanks!
>
> Rick
>
> 2005/10/22, Ryan guo <ryanphat@gmail.com>:
> > hi,Lee,i think u should reinstall a lower version net-snmp package and

> retry
> > it,coz i have not tied it before for that version,may be net-snmp5.1.2i=

s
> > more suitable for u,btw,did u find libnetsnmpmibs.so.9 in /usr/lib or
> > /usr/lib64 ?
> >
> >
> >
> >
> >
> > On 10/22/05, Lee Rick <rickmaillist@gmail.com> wrote:
> > > hi,guo,
> > > thanks for your answer.
> > > I've really installed the package of net-snmp-5.2.2.pre4 and I've
> > > performed some test and both the snmpd and snmpget and so on work
> > > fine.
> > >
> > > The example given by the Tutorial of compiling the mib module into
> > > master agent is ok.
> > > The way of subagent shows error as decribed in my last letter. I
> > > think it may not the problem of net-snmp, because it shows that syste=

m
> > > can not load the shared object.
> > > could you or any other give me some more advice?
> > >
> > > Thank you!
> > > Rick
> > >
> > > 2005/10/22, Ryan guo < ryanphat@gmail.com>:
> > > > hi,lee
> > > >
> > > >
> > > > First,make sure u have installed the net-snmp package on ur

> > linux
> > > > system, and if u had do so,look up these .so files such as

> > libnetsnmpmibs.so
> > > > as u said at /usr/lib or /usr/lib64 and make sure that the file u

> want
> > is at
> > > > there.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 10/21/05, Lee Rick < rickmaillist@gmail.com> wrote:
> > > > >
> > > > > hi, I'm learning about net-snmp. I'm praticing with the NET-SNMP

> > Tutorial.
> > > > > Followed by the sub-agent Demon tutorial step by step, I've

> compiled
> > > > > the nstAgentSubagentObject.c correctly. Then I run the subagent a=

s
> > > > > follows and error occurs.
> > > > > [root@localhost download]# ./mysubagent
> > > > > ./mysubagent: error while loading shared libraries:

> > libnetsnmpmibs.so.9:
> > > > cannot
> > > > > open shared object file: No such file or directory
> > > > >
> > > > > But I do find the libnetsnmpmibs.so.9 file in directory

> > /usr/local/lib,
> > > > > what's the matter? and how to fix it?
> > > > >
> > > > > Thanks a lot!
> > > > >
> > > > >
> > > > >

> > -------------------------------------------------------
> > > > > This SF.Net email is sponsored by:
> > > > > Power Architecture Resource Center: Free content, downloads,

> > discussions,
> > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > > > > _______________________________________________
> > > > > Net-snmp-users mailing list
> > > > > Net-snmp-users@lists.sourceforge.net
> > > > > Please see the following page to unsubscribe or change other

> options:
> > > > >
> > > >

> > https://lists.sourceforge.net/lists/...net-snmp-users
> > > > >
> > > >
> > > >
> > >

> >
> >

>


------=_Part_13769_14406088.1129971028889
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>hi, u needn't do that and &nbsp;,just copy such files to /usr/lib and =
/usr/lib64 and retry it,may be ur subagent search these two directories and=
didn't find it and arose a error,try it!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class=3D"gmail_quote">On 10/22/05, <b class=3D"gmail_sendername"=
>Lee Rick</b> &lt;<a href=3D"mailto:rickmaillist@gmail.com">rickmaillis t@gm=

ail.com</a>&gt; wrote:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">yes, I find it in /usr/local/lib=
, ls result is:<br>[root@localhost net-snmp-5.2.2.pre4]# ls /usr/local/lib
<br>libnetsnmp.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;libnetsnmphelpers.so.9&nb sp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;libnetsnmp.so.9<br>libnetsnmpagent.a&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; libnetsnmphelpers.so.9.0.0&nbsp;&nbsp;libnetsnmp.s o.9.0.0=
<br><a href=3D"http://libnetsnmpagent.la">libnetsnmpagent.la</a>&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=3D"http://libnetsnmp.la">
libnetsnmp.la</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; libnetsnmptrapd.a<br>libnetsnmpagent.so&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libnetsnmpm ibs.a&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<a href=3D"http://libne=
tsnmptrapd.la">libnetsnmptrapd.la</a><br>libnetsnmpagent.so.9&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;<a href=3D"http://libnetsnmpmibs.la">
libnetsnmpmibs.la</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=
&nbsp; libnetsnmptrapd.so<br>libnetsnmpagent.so.9.0.0&nbs p;&nbsp;libnetsnmp=
mibs.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp; libnets=
nmptrapd.so.9<br>libnetsnmphelpers.a&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; li=
bnetsnmpmibs.so.9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp; libnetsnm=
ptrapd.so.9.0.0<br><a href=3D"http://libnetsnmphelpers.la">
libnetsnmphelpers.la</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libnetsnmpmi bs.=
so.9.0.0<br>libnetsnmphelpers.so&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;libnets=
nmp.so<br><br>here's another little problem,<br>&nbsp;&nbsp; how to uninsta=
ll the package? I compile and install it by source<br>code ,not by RPM=20
package.just delete related files and directories?<br><br>thanks!<br><br>Ri=
ck<br><br>2005/10/22, Ryan guo &lt;<a href=3D"mailto:ryanphat@gmail.com">ry=
anphat@gmail.com</a>&gt;:<br>&gt; hi,Lee,i think u should reinstall a lower=
version net-snmp package and retry
<br>&gt; it,coz i have not tied it before for that version,may be net-snmp5=
..1.2 is<br>&gt; more suitable for u,btw,did u find libnetsnmpmibs.so.9 in /=
usr/lib or<br>&gt; /usr/lib64 ?<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;
<br>&gt; On 10/22/05, Lee Rick &lt;<a href=3D"mailto:rickmaillist@gmail.com=
">rickmaillist@gmail.com</a>&gt; wrote:<br>&gt; &gt; hi,guo,<br>&gt; &gt; t=
hanks for your answer.<br>&gt; &gt; I've really installed the package of=20
net-snmp-5.2.2.pre4 and I've<br>&gt; &gt; performed some test and both the =
snmpd and snmpget and so on work<br>&gt; &gt; fine.<br>&gt; &gt;<br>&gt; &g=
t; The example given by the Tutorial of compiling the mib module into<br>
&gt; &gt; master agent is ok.<br>&gt; &gt; The way of subagent shows error =
as decribed in my last letter. I<br>&gt; &gt; think it may not the problem =
of net-snmp, because it shows that system<br>&gt; &gt; can not load the sha=
red object.
<br>&gt; &gt;&nbsp;&nbsp; could you or any other give me some more advice?<=
br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; Thank you!<br>&gt; &gt; Rick<br>&gt; =
&gt;<br>&gt; &gt; 2005/10/22, Ryan guo &lt; <a href=3D"mailto:ryanphat@gmai=
l.com">ryanphat@gmail.com
</a>&gt;:<br>&gt; &gt; &gt; hi,lee<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&=
gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;Fi=
rst,make sure u have installed the net-snmp package on ur<br>&gt; linux<br>=
&gt; &gt; &gt; system, and if u had do so,look up these .so files such as
<br>&gt; libnetsnmpmibs.so<br>&gt; &gt; &gt; as u said at /usr/lib or /usr/=
lib64 and make sure that the file u want<br>&gt; is at<br>&gt; &gt; &gt; th=
ere.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt=
;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 10/21/05, Lee Rick &lt; <a href=3D"=
mailto:rickmaillist@gmail.com">rickmaillist@gmail. com</a>&gt; wrote:<br>&gt=
; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; hi, I'm learning about net-snmp. I'=
m praticing with the NET-SNMP
<br>&gt; Tutorial.<br>&gt; &gt; &gt; &gt; Followed by the sub-agent Demon t=
utorial step by step, I've compiled<br>&gt; &gt; &gt; &gt; the nstAgentSuba=
gentObject.c correctly. Then I run the subagent as<br>&gt; &gt; &gt; &gt; f=
ollows and error occurs.
<br>&gt; &gt; &gt; &gt; [root@localhost download]# ./mysubagent<br>&gt; &gt=
; &gt; &gt; ./mysubagent: error while loading shared libraries:<br>&gt; lib=
netsnmpmibs.so.9:<br>&gt; &gt; &gt; cannot<br>&gt; &gt; &gt; &gt; open shar=
ed object file: No such file or directory
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; But I do find the libnetsnmp=
mibs.so.9 file in directory<br>&gt; /usr/local/lib,<br>&gt; &gt; &gt; &gt; =
what's the matter? and how to fix it?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &=
gt; &gt; Thanks a lot!
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&g=
t; -------------------------------------------------------<br>&gt; &gt; &gt=
; &gt; This SF.Net email is sponsored by:<br>&gt; &gt; &gt; &gt; Power Arch=
itecture Resource Center: Free content, downloads,
<br>&gt; discussions,<br>&gt; &gt; &gt; &gt; and more. <a href=3D"http://so=
lutions.newsforge.com/ibmarch.tmpl">http://solutions.newsforge.com/ibmarch.=
tmpl</a><br>&gt; &gt; &gt; &gt; ___________________________________________=
____
<br>&gt; &gt; &gt; &gt; Net-snmp-users mailing list<br>&gt; &gt; &gt; &gt; =
<a href=3D"mailto:Net-snmp-users@lists.sourceforge.net">Net-snmp-users@list=
s.sourceforge.net</a><br>&gt; &gt; &gt; &gt; Please see the following page =
to unsubscribe or change other options:
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <a href=3D"https://lists.=
sourceforge.net/lists/listinfo/net-snmp-users">https://lists.sourceforge.ne=
t/lists/listinfo/net-snmp-users</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt=
;
<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br></blockquote></div><br>

------=_Part_13769_14406088.1129971028889--


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0