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