From owner-freebsd-stable@FreeBSD.ORG Thu Dec 23 03:45:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E143916A4CE for ; Thu, 23 Dec 2004 03:45:38 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id AFEC043D2D for ; Thu, 23 Dec 2004 03:45:34 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 80188 invoked by uid 0); 23 Dec 2004 03:38:35 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 23 Dec 2004 03:38:35 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id C5733133E37; Thu, 23 Dec 2004 11:45:20 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01798-18; Thu, 23 Dec 2004 11:45:06 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id BECF413332B; Thu, 23 Dec 2004 11:45:05 +0800 (CST) Date: Thu, 23 Dec 2004 11:45:05 +0800 From: Xin LI To: Hideki Yamamoto Message-ID: <20041223034505.GA369@frontfree.net> References: <20041223.122449.85366654.yamamoto436@oki.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20041223.122449.85366654.yamamoto436@oki.com> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #11: Tue Oct 26 14:12:03 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-stable@freebsd.org Subject: Re: 'Shared object "libc.so.4" not found' when running FreeBSD 4 command on 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 03:45:39 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 23, 2004 at 12:24:49PM +0900, Hideki Yamamoto wrote: > When trying to run my application, which was compiled on FreeBSD4.8, > on FreeBSD 5.3, It does not work and appears > 'Shared object "libc.so.4" not found.' >=20 > After make an symbolic link as follows, > # ln -s /usr/lib/libc.so /usr/lib/libc.so.4 > it works well. >=20 > Is this link is correct for this problem? It may work, but it's not recommended. A recommended solution is that you either re-compile the application, or install ports/misc/compat4x/ so you get libc.so.4. > My kernel config file includes 'options COMPAT_FREEBSD4' line. > I wonder if this option has some problems. This should not be painful :-) If you have many 4-STABLE binaries then you will want this. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFByj9B/cVsHxFZiIoRAl0kAJ9SrJwxxeO34vItNxO/LEj4tT63xwCfaAps /TkVfQ7GsuhugiBvwjkZNL4= =HGvQ -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--