Daniel - The ucd-snmp tarball has been installed on the server but, thanks
for the input.
Jon - I am using the perl5.8 inplace of perl5.6.  Perl5.6 was giving me the
SNMP.so file error.  The solution was to upgrade to Perl5.8.

List Members -
Ok, here's an update.  After hours of banging my head against the
monitor!!!!  The solution for the "WARNING: MAN3PODS takes a hash reference
not a string/number. Please inform the author...." error message is a code
change within the SNMP-4.2.0 "Makefile.PL" file.
The code used for the MAN3PODS is outdated and does not function with the
latest and greatest.  To correct for this error make the following change to
the following line with the perl SNMP-4.2.0 Makefile.PL:

OLD CODE = MAN3PODS => 'SNMP', # Pods will be built by installman.
NEW CODE = MAN3PODS => {SNMP}, # Pods will be built by installman.

Now when the "perl Makefile.PL" command is run for SNMP-4.2.0 the following
is displayed and a Makefile is generated.
    WARNING: LDFLAGS is not a known parameter.
    Writing Makefile for SNMP.
    Unable to locate the MIBS, Please enter the path: [/usr/local/sbin]
/usr/share/snmp/mibs

Now when the "make command is run for SNMP-4.0.2 the following is displayed
and errors out.
    SNMP.o: InFunction 'boot_SNMP':
    SNMP.o(.text+0xcd54): undefined reference to 'Mib'
    " " 'snmp_set_do_debugging'
    .
    .
    .
    SNMP.o(.text+0xxxxx): undefined reference to 'PL_stack_sp'
    Collect 2: ld returned 1 exit status
    make: ***[SNMP] Error 1

Can anyone assist with the next error message?  I will continue to
troubleshoot and will keep the mailing list informed if any solutions are
found.

Thanks again for all the assistance,
Pam Schmidt

----- Original Message -----
From: "Daniel O Cummings" <[EMAIL PROTECTED]>
To: "Schmidt-1, Pamela" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 11:59 AM
Subject: Re: FW: Newbie Question - Receiving an undefined error when trying
to startmon


>
> 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