'Shared object "libc.so.4" not found' when running FreeBSD 4 command on 5.3

Kris Kennaway kris at obsecurity.org
Wed Dec 22 23:16:25 PST 2004


On Thu, Dec 23, 2004 at 12:24:49PM +0900, Hideki Yamamoto wrote:
> 
> Hi,
> 
> 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.'
> 
> After make an symbolic link as follows,
>       # ln -s /usr/lib/libc.so  /usr/lib/libc.so.4
> it works well.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041222/ed912656/attachment.bin


More information about the freebsd-stable mailing list