Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2018 10:00:38 +0100
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        Weike.Chen@Dell.com
Cc:        emulation@FreeBSD.org
Subject:   Re: FATAL error after upgrade glibc for linux emulation
Message-ID:  <20181218100038.630b9ed4@kalimero.tijl.coosemans.org>
In-Reply-To: <d2cafbf01cb64c608637c68a78c46567@KULX13MDC127.APAC.DELL.COM>
References:  <d2cafbf01cb64c608637c68a78c46567@KULX13MDC127.APAC.DELL.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Dec 2018 04:20:02 +0000 <Weike.Chen@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.



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