Segmentation fault for NetSnmp on AIX5.2
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OFE974C0A7.2802695F-ON48257075.0045FE02-48256F08.004624BE@wesoft.com> |
Hi All:
I have downloaded the NetSnmp installation package for AIX from :
http://aixpdslib.seas.ucla.edu/packages/net-snmp.html
I install it to my AIX5.2 system, it is success with no error.
But when I stop the AIX default snmp and try to start the netsnmp.
The netsnmp can not be started wtith the following error:
bash-2.05b# /usr/local/sbin/snmpd -fs-L/ -Dread_config
Segmentation fault (core dumped)
bash-2.05b# /usr/local/sbin/snmptrapd
Segmentation fault (core dumped)
bash-2.05b# ldd /usr/local/sbin/snmpd
/usr/local/sbin/snmpd needs:
/usr/lib/libc.a(shr.o)
/home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)
/home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)
/usr/lib/libdl.a(shr.o)
/usr/lib/libperfstat.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libodm.a(shr.o)
/usr/lib/libcfg.a(shr.o)
/usr/lib/liblvm.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
bash-2.05b#
I have pay attention to the hint on:http://www.net-snmp.com/docs/README.aix.html/
I recompile the souce code with ./configure --disable-shared
and fixing the quoting problem of net-snmp-config.h, Still I get the same error.
Is there any other ways or do I miss something?
Best Regards,
Tango