From owner-freebsd-questions Sun Jun 10 18:34:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 71C7937B401 for ; Sun, 10 Jun 2001 18:34:37 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 18126 invoked by uid 100); 11 Jun 2001 01:34:36 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15140.8236.100515.196037@guru.mired.org> Date: Sun, 10 Jun 2001 20:34:36 -0500 To: "Peter Ulrich (Uli) Kruppa" , jdouglas@cjhost.com Cc: questions@freebsd.org Subject: Re: /usr/lib/libc.so.1 not found In-Reply-To: <111222611@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Ulrich (Uli) Kruppa types: > On Sun, 10 Jun 2001, Operations wrote: > > I am trying to install some software but Keep Getting the error > > ELF interpreter /usr/lib/libc.so.1 not found > > Abort > > How do I fix? > Have a look if there is any other version of libc.so.x in /usr/lib > If so, try to soft-link > # ln -s libc.so.x libc.so.1 This kind of thing should only be used as a last resort. You're plugging in a library that may - or may not - be related to the library the program is looking for. It's only safe to use a symlink for providing an older minor version of a shared library: i.e., using a symlink from 2.3.so for an application trying to find 2.2.so. Changes in the major version mean something changed that broke backwards compatability. If the something that changed isn't used by the application, you're fine. If it is, your application is probably going to fail in unpredictable - and possibly unobservable - ways. When the minor number goes up, a new feature has been added, but the old interfaces all work properly. Something looking specifically for x.y.so probably needs features that weren't in x.y-1.so. It may be that it isn't, and the developer just happened to have that version, you'll be fine. See for details on how shared library version numbers are supposed to behave on FreeBSD. > If that will not work, you have to find out where this library > originally comes from (perhaps the compat distributions?). It's in /usr/lib/compat/compat1x if you want to build it from the source tree. Via /stand/sysinstall, it's the "FreeBSD 1.x binary compatability" distribution. Given the age of that distribution, you might want to look at getting a newer version of the software you're trying to install. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message