> -----Original Message-----
> From: [email protected] <owner-freebsd-
> [email protected]> On Behalf Of T?l Coosemans
> Sent: Tuesday, December 18, 2018 5:01 PM
> To: Chen, Weike <[email protected]>
> Cc: [email protected]
> Subject: Re: FATAL error after upgrade glibc for linux emulation
> 
> 
> [EXTERNAL EMAIL]
> 
> On Tue, 18 Dec 2018 04:20:02 +0000 <[email protected]> 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.
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to