View Single Post
  #2   (View Single Post)  
Old 22nd July 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

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.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote