You need to have SNMP on your system.  You may have it in a non-standard
location or it may not be installed.   The easiest fix is probably to just
download the ucd-snmp tarball,  build it and install it on your system.
It is available from several places.   As I recall,  I downloaded it from
http://sourceforge.net/projects/net-snmp.

Good luck!


Daniel O Cummings
ATS Americas Team
Linux Cluster Group
(206)587-4547 Phone, Voicemail, Fax
277-4547 Tie Line


                                                                                       
                                              
                      "Schmidt-1, Pamela"                                              
                                              
                      <Pamela.Schmidt-1@ks        To:       "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>                          
                      c.nasa.gov>                 cc:       "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>                                    
                      Sent by:                    Subject:  FW: Newbie Question - 
Receiving an undefined error when trying to start  
                      [EMAIL PROTECTED]         mon                                 
                                              
                      el.org                                                           
                                              
                                                                                       
                                              
                                                                                       
                                              
                      08/14/2002 05:43 AM                                              
                                              
                                                                                       
                                              
                                                                                       
                                              



Here are the updates from this message.  Sorry that the mailing list was
not
included.

This is still not resolved and when attempting to run ./mon the following
error message is returned:

[mon-0.99.2]# ./mon
Can't locate loadable object for module SNMP in @INC (@INC contains:
/usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at
./mon line 51
Compilation failed in require at ./mon line 51.
BEGIN failed--compilation aborted at ./mon line 51.

When attempting to perform a "perl Makefile.PL" the following error is
displayed.
#perl Makefile.PL
> Where is the ucd-snmp library installed? [/usr/lib
> WARNING: MAN3PODS takes a hash reference not a string/number.
>                     Please inform the author.
> WARNING: LDFLAGS is not a known parameter.
> Checking if your kit is complete...
> Looks good
> Can't use string ("SNMP") as a HASH ref while "strict refs" in  use at
> /usr/local/lib/perl5/5.8.0/ExtUtils/MM_Unix.pm line 541.

Thanks go out to Peter Holzleitner and Guillaume Courtois for their
assistance in the matter so far.

Any and all assistance is greatly appreciated...
Pam Schmidt

-----Original Message-----
From: [EMAIL PROTECTED]
Sent:  Wednesday, August 14, 2002 8:00AM
To: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Subject: Re: Re: Newbie Question  - Receiving an undefined error when
trying
to start mon

I have tried two different versions and both display the same error
message.
I didn't have to override the library location, in the example I was trying
to see if another location would still give the same error message - it
did.
Yes, the ucd-snmp-devel package is installed along with the ucd-snmp-utils
package.

I stumped....


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 3:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie Question - Receiving an undefined error when trying
to start mon


What is the version of the perl snmp package you're trying to install, and
why
did you have to override the library location?
Is the RedHat ucd-snmp-devel package installed?

> Peter -
>
> Thanks for the information.  The SNMP perl module is the one that will
not
> install.  When trying to perform a "perl Makefile.PL"  the following
error
> message is displayed.
>
> #perl Makefile.PL
> Where is the ucd-snmp library installed? [/usr/lib] /usr/include
> WARNING: MAN3PODS takes a hash reference not a string/number.
>                     Please inform the author.
> WARNING: LDFLAGS is not a known parameter.
> Checking if your kit is complete...
> Looks good
> Can't use string ("SNMP") as a HASH ref while "strict refs" in  use at
> /usr/local/lib/perl5/5.8.0/ExtUtils/MM_Unix.pm line 541.
>
> Any assistance is greatly appreciated,
> Pam Schmidt
>
>
> ----- Original Message -----
> From: "Peter HOLZLEITNER" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 13, 2002 8:58 AM
> Subject: RE: Newbie Question - Receiving an undefined error when trying
to
> start mon
>
>
> > >You must install the SNMP perl module. You should find it at
> > www.cpan.org
> >
> > In particular ...
> >
> > Make sure package ucd-snmp-devel-[version] is installed.
> > You will also need openssl-devel-[version].
> >
> > Get http://www.cpan.org/modules/by-module/SNMP/SNMP-4.2.0.tar.gz
> > Unpack this, then run
> > perl Makefile.PL
> > make
> > make test
> > make install
> > (or use the CPAN shell instead of the above steps if you prefer).
> >
> > --Peter
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 13, 2002 9:42 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
> > Subject: RE: Newbie Question - Receiving an undefined error when trying
> > to start mon
> >
> >
> >
> > > > I am currently running Redhat 7.2 with heartbeat, opennms and
trying
> > to
> > > run mon.  I have mon installed with a minimal configuration and the
> > following
> > > > error message is received when attempting to start mon.  Has anyone
> > else
> > > > experienced a problem completing the make for SNMP?  It appears
that
> > all
> > > of the new downloads I have acquired give the following error
message.
> > >____________________________________________________________
> > > > Can't load
> > '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/SNMP/SNMP.so'
> > > for module SNMP:
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/SNMP/SNMP.so:
> > > > undefined symbol: tree_head at
> > /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm
> > > > line 200.  at ./mon line 51 Compilation failed in require at ./mon
> > line
> > 51.
> > > > BEGIN failed--compilation aborted at ./mon line 51.
> >
>





Reply via email to