From owner-freebsd-stable@FreeBSD.ORG Thu Dec 23 07:16:24 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 D924516A4CE for ; Thu, 23 Dec 2004 07:16:24 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8FB043D1F for ; Thu, 23 Dec 2004 07:16:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2FA7E512BF; Wed, 22 Dec 2004 23:16:24 -0800 (PST) Date: Wed, 22 Dec 2004 23:16:24 -0800 From: Kris Kennaway To: Hideki Yamamoto Message-ID: <20041223071624.GA40035@xor.obsecurity.org> References: <20041223.122449.85366654.yamamoto436@oki.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20041223.122449.85366654.yamamoto436@oki.com> User-Agent: Mutt/1.4.2.1i 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 07:16:25 -0000 --wRRV7LY7NUeQGEoC 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: >=20 > Hi, >=20 > 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? No! > My kernel config file includes 'options COMPAT_FREEBSD4' line. > I wonder if this option has some problems. No, that's just the kernel compatibility. To run dynamically-linked 4.x binaries, you need to install the misc/compat4x package. Kris --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBynDHWry0BWjoQKURAsL+AKDtyNKU7e+1pwwNBcivSN/GcubnBACg8yl3 +FQ/2zRSpA7SfawOxzUoaXU= =UPzO -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--