From owner-freebsd-questions Tue Mar 23 10:41:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from web4-1.ability.net (web4-1.ability.net [216.32.69.9]) by hub.freebsd.org (Postfix) with ESMTP id E89FD1532A for ; Tue, 23 Mar 1999 10:41:09 -0800 (PST) (envelope-from rich@f2sys.net) Received: from tfox.ari.net (rich@tfox.ari.net [198.69.194.147]) by web4-1.ability.net (8.9.1/8.9.1/Pub) with SMTP id NAA00177 for ; Tue, 23 Mar 1999 13:28:59 -0500 (EST) Date: Tue, 23 Mar 1999 13:42:16 -0500 (EST) From: Rich Fox X-Sender: rich@tfox.ari.net To: freebsd-questions@freebsd.org Subject: Fixed! Re: libwrap.so.7--making me crazy! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, This message is a follow-up posting: In my original posting, I stated that after installing tcp_wrappers_7.6, my problem with the libwrap.so.7 library not being found was unresolved. This was not entirely accurate, I didn't quite go far enough to solve the problem. Although the library was not being found, I believe this was the result of ldconfig not being run after I installed the tcpwrappers. I reinstalled the system as clean, which probably wasn't necessary for this problem. Then I installed netatalk. When I tried to invoke the netatalk daemons, atalkd and papd came up, but afpd ran into the same problem as before. Following Guy Helmer's instruction, I installed net/tcp_wrappers_7.6 from the /stand/sysinstall utility. Before attempting to start afpd, I shut everything down and rebooted the system. When the system came up, netatalk started happily and has been running since. The clue to reboot came from a post to this list by Robert Nordier [Dec. '96!] in the archive about a problem with shared libraries and ldconfig: [snip] You may need to do a `/sbin/ldconfig -m' to have the system recognize the library. See the ldconfig(8) man page for details. Or simply reboot. [snip] -- and this excerpt from the 3.1R Errata: o Some packages, like netscape, will fail to install if chosen at initial system installation time, in some cases claiming that the "compat22" distribution needs to be installed even though it has, indeed, been installed. Fix: The problem here is that though the compatibility a.out libraries may have been installed from compat22 and as part of the XFree86 distribution, the a.out library (ldconfig) cache has not yet been built given that this doesn't happen until the system has booted completely at least once. This causes packages which require the old a.out libraries (like netscape) to get confused if they're installed before that has occurred. To work around the problem, simply complete the installation as normal and come up fully, then re-run /stand/sysinstall (or use the pkg_add(1) command directly) to re-install the failing package(s). (I don't know if all this was really what solved the problem, but it works now...) Again, thanks everyone! Rich. | rich fox | rich@f2sys.net | 1513 N. Rhodes St. #1 | Arlington, VA 22209 | t:703.528.9616 | f:703.329.2314 On Mon, 22 Mar 1999, Guy Helmer wrote: > On Mon, 22 Mar 1999, Rich Fox wrote: > > > I am trying to fix a 3.1 distribution so that It can run netatalk. > > First I had the lib.so.3 (I think) problem. Fortunately, this was fairly > > common and I found the solution in the handbook. > > Now, I am stuck on the following: > > > > /usr/libexec/ld-elf.so.1: Shared object "libwrap.so.7" not found > > > > I have located and installed tcp_wrappers_7.6 and it didn't change > > anything. It took me a long time just to find the tcp_wrappers_7.6.tar.gz > > file and now, apparently it wasn't even what I needed. > > > > Any ideas where I can get this libwrap.so.7? > > Install the tcp_wrapper port or package to get > /usr/local/lib/libwrap.so.7 installed. > > Guy Helmer > > Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science > Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov > Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu > http://www.cs.iastate.edu/~ghelmer > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message