Greetings,
I'm having a heck of a time trying to get net-snmp 5.2.1 to configure with libwrap. My system is SunOS 5.9 sun4u sparc.
Configure dies with :
checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for TCP wrappers library -lwrap... no checking for yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for TCP wrappers library -lwrap linked with -lnsl... no configure: error: Asked to use libwrap but I couldn't find it.
and config.log shows:
configure:12892: checking for TCP wrappers library -lwrap linked with -lnsl
configure:12914: gcc -o conftest -g -O2 -Dsolaris2 -I/usr/local/ssl/include -L/usr/local/ssl/lib conftest.c -lns
l -lwrap >&5
Undefined first referenced
symbol in file
bind /usr/lib/libwrap.a(rfc931.o)
socket /usr/lib/libwrap.a(rfc931.o)
connect /usr/lib/libwrap.a(rfc931.o)
getpeername /usr/lib/libwrap.a(workarounds.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
My configure options:
./configure --prefix=/export/local/net-snmp \
--with-default-snmp-version=2 \
--without-root-access \
--with-libwrap \
--with-mib-modules="host disman/event-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail" \
--with-persistent-directory=/export/local/var/net-snmp \
--with-logfile=/export/local/var/log/snmpd.log
Any help is appreciated.
dean
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
