Quote:
locate libwrap shows it in /usr/lib.
|
Don't use
locate(1) for this sort of thing, locate uses a database which is rebuild once a week (By default).
Use
find(1) instead.
You can try if there is anything useful in the /usr/lost+found/ directory, the filename is probably garbled, check it's libwrap by using
# objdump -x asfafasdf | grep SONAME
.
If you can't find the file, you will need to reinstall it, from source:
Code:
cd /usr/src/lib/libwrap
cp libwrap.so.4 /usr/lib/
Or download the FreeBSD base distribution set, extract it, and get the libwrap.so.4 from that.