FATAL error after upgrade glibc for linux emulation
Tijl Coosemans
tijl at FreeBSD.org
Tue Dec 18 09:01:57 UTC 2018
On Tue, 18 Dec 2018 04:20:02 +0000 <Weike.Chen at Dell.com> wrote:
> I installed 'linux_base-c7' on freeBSD12, and its glibc version is
> '2.17', but I have a linux application, it is depended on glibc-2.27.
> So I upgrade the glibc in /compat/linux to '2.27', (I just copy glibc
> 2.27 from Ubuntu 18.04 to 'compat/linux/lib64':
> ld-2.27.so
> libc-2.27.so
> libdl-2.27.so
> librt-2.27.so
>
> Then I run my application, it is reported the error:
> FATAL: kernel too old.
>
> Then I run a simple help world (only print a message), it can work
> before my glibc upgrading, but now get the same error.
>
> Anything I missed?
You can try to increase compat.linux.osrelease sysctl, but this will
only work if your program doesn't need new kernel features.
More information about the freebsd-emulation
mailing list