Hi Dave,

       I have installed net-snmp 5.4.1 and generated subagent code ifTable
as given in tutorial with mib2c

      Iam getting symbol error . I have uninstalled other net-snmp versions.


 # ./ifTable
Error: Failed to connect to the agentx master agent: Unknown host (No such
file or directory)
./ifTable: symbol lookup error: ./ifTable: undefined symbol:
netsnmp_baby_steps_access_multiplexer_get

   Is this is library linking issue ??


Thanks,
Pranesh





On Jan 31, 2008 4:28 PM, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:

> Hi Dave,
>        From which relative path we should issue command mib2c for
> generating code for subagent .
>
>         Suppose say ,
>               i have installed net-snmp package in   /home/xyz/net-
> snmp-5.4.1 , from which directory I should issue mib2 command.
>
> Thanks,
> Pranesh
>
>
> On Jan 31, 2008 4:22 PM, Dave Shield <[EMAIL PROTECTED]> wrote:
>
> > On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
> > >        With the makefile of Subagent, these are the libraries linking,
> > >
> > >                  -L/usr/lib64 -L/usr/local/lib -lnetsnmpmibs
> > -lnetsnmpagent
> > >    -lnetsnmphelpers -lnetsnmp
> >
> > Try using
> >      -L/usr/lib64 -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs
> > -lnetsnmp
> >
> > This may require you to install 5.4.1 first - I'm not sure.
> >
> > Dave
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to