>> Hello,
>> I'm getting a Segmentation Fault during the make phase of building
>> 5.4.2.1 as shown below. Note that I really only use the apps
(snmpwalk,
>> etc.) and the Perl API. I do NOT need or use the agent.
>>
>> Anyone have suggestions? Need more info?
>
>   $ ./configure --help  | grep agent
>      --disable-agent     Do not build the agent (snmpd).
>
>Worth a try, at least.
>
>Dave

Thanks for your suggestion (obviously this was really in the configure -
not make - phase)!

# ./configure --with-perl-modules --disable-agent

I did as you suggested and the configure phase completed successfully
and the 'make' ran fine. As expected, most of the 'make test' tests
either were skipped or failed, but tests of snmpwalk, etc. against
existing devices seemed to work fine.

After a 'make install', in testing with existing perl programs, I got:

A simple test program fails:
#!/usr/local/bin/perl -w
use strict;
use SNMP;

my $SNMP_version=$SNMP::VERSION;
$SNMP::use_enums=1;
$SNMP::use_sprint_value=1;
&SNMP::initMib();

exit;

$ test_snmp.pl
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/SNMP/SNMP.so'
for module SNMP: ld.so.1: test_snmp.pl: fatal: relocation error: file
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/SNMP/SNMP.so:
symbol usmAESPrivProtocol: referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
 at test_snmp.pl line 3
Compilation failed in require at test_snmp.pl line 3.
BEGIN failed--compilation aborted at test_snmp.pl line 3.


I'm using openSSL 0.9.8j and openssh 5.1.p1 from sunfreeware. 

More suggestions - Please?

Thanks,
Al


T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its 
associates do not provide legal or tax advice.  Any tax-related discussion 
contained in this e-mail, including any attachments, is not intended or written 
to be used, and cannot be used, for the purpose of (i) avoiding any tax 
penalties or (ii) promoting, marketing, or recommending to any other party any 
transaction or matter addressed herein.  Please consult your independent legal 
counsel and/or professional tax advisor regarding any legal or tax issues 
raised in this e-mail.

The contents of this e-mail and any attachments are intended solely for the use 
of the named addressee(s) and may contain confidential and/or privileged 
information. Any unauthorized use, copying, disclosure, or distribution of the 
contents of this e-mail is strictly prohibited by the sender and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately and delete this e-mail.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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