FATAL error after upgrade glibc for linux emulation
Weike.Chen at Dell.com
Weike.Chen at Dell.com
Wed Feb 20 02:07:46 UTC 2019
> -----Original Message-----
> From: owner-freebsd-emulation at freebsd.org <owner-freebsd-
> emulation at freebsd.org> On Behalf Of T?l Coosemans
> Sent: Tuesday, December 18, 2018 5:01 PM
> To: Chen, Weike <Weike_Chen at Dell.com>
> Cc: emulation at FreeBSD.org
> Subject: Re: FATAL error after upgrade glibc for linux emulation
>
>
> [EXTERNAL EMAIL]
>
> 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.
I have tried to increase compat.linux.osrelease, but not help for this issue.
The error message is reported by glibc itself.
I copy the glibc-2.17 from CentOS 7, it can work well, but I find the glibc on CentOS
is not the standard glibc, but with patches.
I also build the glibc 2.17 without the patches, it can't work.
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"
More information about the freebsd-emulation
mailing list