Compile errors on Solaris 10 (missing libwrap)

I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error:

checking whether to use libwrap... yes

configure: error: Could not find libwrap. You must first install tcp_wrappers.

I do a have tcpwrappers installed/enabled and the library files are located in:
/usr/sfw/lib/libwrap.so
/usr/sfw/lib/libwrap.so.1
/usr/sfw/lib/libwrap.so.1.0

Please let me know what I am missing. Thank you!

Perhaps to tell configure where to find libwrap.

I tried that. I did the following:

export LD_LIBRARY_PATH=/usr/sfw/lib since libwrap is located there. But now "make install" fails:

"tac_plus.c", line 32: cannot find include file: <tcpd.h>

Please let me know what I might be missing.

Telling configure where to find tcpd.h, likely in /usr/sfw/include.

Thank you! That worked! :b: