duckhead wrote:NetGeek wrote:
Yup, Sure Did!!
And this is what I got:
nms-lab3(root)# ./configure -lkstat
configure: error: unrecognized option: -lkstat
Try `./configure --help' for more information.
nms-lab3(root)#
Do you see what I may have missed?
Thanks!
NetGeek
You actually have to hack the configure script. I'm sure that there's a better way, I am not an autoconf wizard though. Here are the changes I made:
$grep -n -- "-lkstat" configure
5681:LIBS="-lnetsnmp -lkstat $LIBS"
5740: LIBS="-lnetsnmp -lkstat $LIBS"
Change those 2 lines, to what I have and it should work.
OK,
Thanks for getting back to me! I think I have another work-around for that particular issue:
./configure -with-snmp=/usr/local/include/net-snmp/
makes it past that error but now I am getting a error relate to libcrypto. It appears that library is required by my NetSnmp install (SNMP v3). So now the ./configure script goes past the earlier error but now dies here:
----SNIP---
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for CRYPTO_realloc in -lcrypto... no
configure: error: libcrypto not found!
I checked where my libcrypto lives an it is here:
nms-lab3(root)# find / -name *crypto* -print
/usr/lib/libcrypto.a
/usr/share/src/freeradius-1.0.0-pre1/src/tests/eapcrypto-01
/usr/share/src/freeradius-1.0.0-pre1/src/tests/eapcrypto-01/eapcrypto-out.txt
/usr/share/src/freeradius-1.0.0-pre1/src/modules/rlm_eap/libeap/eapcrypto.c
/usr/include/openssl/crypto.h
/usr/j2se/docs/api/javax/crypto
/usr/local/splunk/lib/python2.4/site-packages/OpenSSL/crypto.so
/usr/local/splunk/lib/libcrypto.a
/usr/local/splunk/lib/libcrypto.so
/usr/local/splunk/lib/libcrypto.so.0
/usr/local/splunk/lib/libcrypto.so.0.9.7
/etc/man/man3/ERR_load_crypto_strings.3
/etc/man/man3/crypto.3
/include/openssl/crypto.h
nms-lab3(root)#
and in the configure script it has that LDFLAG:
LDFLAGS="-L/usr/local/ssl/lib -L/usr/lib $LDFLAGS
Soooo any thoughts at this point?
Thanks!