Clement Dass
2017-02-20 05:41:19 UTC
Hi,
I have managed to ./configure net-snmp using the following:
./configure --with-oenssl=/usr/sfw --with-mib-modules="ucd-snmp/lmSensors
ucd-snmp/diskio \ smux mibII/mta_sendmail" --with-cc=gcc
Next is make, but when trying to make I get the following:
ld: warning: file ../snmplib/.libs/libnetsnmp.so: linked to
/usr/local/src/net-snmp/snmplib/.libs/libnetsnmp.so: attempted multiple
inclusion of file
Undefined first referenced
symbol in file
picl_initialize ./.libs/libnetsnmpmibs.so
picl_get_propval_by_name ./.libs/libnetsnmpmibs.so
picl_get_propinfo_by_name ./.libs/libnetsnmpmibs.so
picl_get_propval ./.libs/libnetsnmpmibs.so
picl_shutdown ./.libs/libnetsnmpmibs.so
picl_get_root ./.libs/libnetsnmpmibs.so
ld: fatal: Symbol referencing errors. No output written to .libs/snmpd
collect2: error: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/usr/local/src/net-snmp/agent'
make: *** [subdirs] Error 1
OS: SunOS Narada125 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-V490
Kindly requesting support as it is critical I get snmp working on this
server and it requires monitoring, really really need help, please.
Thank you,
Clement
I have managed to ./configure net-snmp using the following:
./configure --with-oenssl=/usr/sfw --with-mib-modules="ucd-snmp/lmSensors
ucd-snmp/diskio \ smux mibII/mta_sendmail" --with-cc=gcc
Next is make, but when trying to make I get the following:
ld: warning: file ../snmplib/.libs/libnetsnmp.so: linked to
/usr/local/src/net-snmp/snmplib/.libs/libnetsnmp.so: attempted multiple
inclusion of file
Undefined first referenced
symbol in file
picl_initialize ./.libs/libnetsnmpmibs.so
picl_get_propval_by_name ./.libs/libnetsnmpmibs.so
picl_get_propinfo_by_name ./.libs/libnetsnmpmibs.so
picl_get_propval ./.libs/libnetsnmpmibs.so
picl_shutdown ./.libs/libnetsnmpmibs.so
picl_get_root ./.libs/libnetsnmpmibs.so
ld: fatal: Symbol referencing errors. No output written to .libs/snmpd
collect2: error: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/usr/local/src/net-snmp/agent'
make: *** [subdirs] Error 1
OS: SunOS Narada125 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-V490
Kindly requesting support as it is critical I get snmp working on this
server and it requires monitoring, really really need help, please.
Thank you,
Clement