Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 23:16:24 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Hideki Yamamoto <yamamoto436@oki.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 'Shared object "libc.so.4" not found' when running FreeBSD 4 command on 5.3
Message-ID:  <20041223071624.GA40035@xor.obsecurity.org>
In-Reply-To: <20041223.122449.85366654.yamamoto436@oki.com>
References:  <20041223.122449.85366654.yamamoto436@oki.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041223071624.GA40035>