From owner-freebsd-questions Fri Jun 11 12:26:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hyperhost.net (ether.lightrealm.com [207.159.132.5]) by hub.freebsd.org (Postfix) with ESMTP id 26A7A151CB for ; Fri, 11 Jun 1999 12:26:34 -0700 (PDT) (envelope-from patseal@foobar.yi.org) Received: from foobar.yi.org (p49.a8.du.radix.net [207.192.132.177]) by hyperhost.net (8.8.5/8.8.5) with ESMTP id PAA01590 for ; Fri, 11 Jun 1999 15:26:01 -0400 (EDT) Received: by foobar.yi.org (Postfix, from userid 1000) id D4C64137F1C; Fri, 11 Jun 1999 15:20:22 -0400 (EDT) Date: Fri, 11 Jun 1999 15:20:22 -0400 From: Patrick Seal To: freebsd-questions@FreeBSD.ORG Subject: Re: ld.so failed: Can't find shared library "libc.so.3.0" Message-ID: <19990611152022.A12770@hyperhost.net> References: <19990611150357.A11853@hyperhost.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990611150357.A11853@hyperhost.net>; from Patrick Seal on Fri, Jun 11, 1999 at 03:03:57PM -0400 X-Operating-System: FreeBSD foobar.yi.org 3.2-STABLE FreeBSD 3.2-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Did some exploring and did this: # cd /usr/src/lib/compat/ # make install COMPAT22= ===> compat22 install -c -o root -g wheel -m 555 ld.so /usr/libexec install -c -o root -g wheel -m 444 libalias.so.2.4 libc.so.3.1 libc_r.so.3.0 libcalendar.so.2.0 libcom_err.so.2.0 libcurses.so.2.0 libdialog.so.3.1 libedit.so.2.0 libf2c.so.2.0 libftpio.so.4.0 libg++.so.4.0 libgmp.so.3.0 libgnuregex.so.2.0 libipx.so.2.0 libkvm.so.2.0 libm.so.2.0 libmp.so.3.0 libmytinfo.so.2.0 libncurses.so.3.1 libopie.so.2.0 libpcap.so.2.2 libreadline.so.3.0 librpcsvc.so.2.0 libscrypt.so.2.0 libscsi.so.2.0 libskey.so.2.0 libss.so.2.0 libstdc++.so.2.0 libtelnet.so.2.0 libtermcap.so.2.1 libutil.so.2.2 libvgl.so.1.0 libxpg4.so.2.0 libz.so.2.0 /usr/lib/compat/aout libcrypt.so.2.0 -> libscrypt.so.2.0 libtermlib.so.2.1 -> libtermcap.so.2.1 Now this is what happens when I run the binary (which I found out is for 2.1 freebsd) /usr/libexec/ld.so: warning: /usr/lib/libc.so.3: minor version -1 older than expected 0, using it anyway ld.so failed: bad magic number in "/usr/lib/libc.so.3" On Fri, Jun 11, 1999 at 03:03:57PM -0400i, Patrick Seal wrote: > Just downloaded a freebsd binary (for my credit card system) and it's giving > me this error. I created a symlink libc.so.3.0 just to check, did ldconfig -R > but no luck. I have no idea what version this was compiled for. > > It is extremely important that I get this working. Does anyone have any clues? > > Thanks > > -- > ------------------------------------ _____________________________________ > Patrick Seal |"Microsoft isn't evil, they just make > | really crappy operating systems." > Hyperhost - http://www.hyperhost.net| -Linus Torvalds > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message