'Shared object "libc.so.4" not found' when running FreeBSD 4
command on 5.3
delphij at frontfree.net
Wed Dec 22 19:45:39 PST 2004
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.'
> 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?
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.
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041223/87571cd9/attachment.bin
More information about the freebsd-stable