On Solaris 10 the libwrap.so library is very commonly used in installing other packages. When installing a program you may encounter the error:
cannot find libwrap.so
This library is commonly installed on Solaris 10. However, it is not in a library path that is exported in bash by default. So one will need to include it into LD_LIBRARY_PATH variable as follows:
This will add it to the library path. At this point you can try to compile or install the package again.