|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Shared object not found 'libwrap.so.4'
Hello all,
I come begging for help as my freebsd 6.2 server has just crashed on me. It seems it had restarted itself around 9am today, and came back with 'unexpected soft update inconsistency' which I fixed by running fsck. It's now back up and running. However both sshd and inetd are both not working due to the following error: /libexec/ld-elf.so.1: Shared object "libwrap.so.4" not found, required by "sshd" and the same is said about "inetd" locate libwrap shows it in /usr/lib. However I looked in that directory and it is not listed just the link libwrap.so -> libwrap.so.4 What is the easiest way to restore this file? I appreciate any help anyone can offer. Thanks, Jay |
|
||||
Quote:
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/
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Thank you so much! It seems I'm back up and running, but still with a few hicups.
find was not able to find the file, and also it was not located in /usr/src/lib/libwrap. I used sysinstall to install all the src packages thinking this would place the file there. However it did not. Then I thought I would try to install Distributions->Base. And that seemed to do the trick. It did however overwrite /etc/passwd, master.passwd and groups. I'm worried about what else it could have done. =/ Will have to check around. Thanks again for your help! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Delphi or Object Pascal In OpenBSD? | SunSpyda | Programming | 14 | 28th November 2009 11:21 AM |
I386 ELF32 binary on AMD64 system can't find shared libraries | Gemini | FreeBSD General | 0 | 9th December 2008 06:49 AM |
shared libraries and linux emulation | Business_woman | FreeBSD General | 4 | 16th November 2008 10:03 AM |
link: `libtheora_la-common.lo' is not a valid libtool object error during compilation | pax | FreeBSD Ports and Packages | 2 | 29th July 2008 11:30 AM |
What include and shared library directories are searched by gcc | kasse | FreeBSD General | 3 | 16th July 2008 08:44 PM |