Date: Wed, 20 Feb 2019 02:05:41 +0000 From: <Weike.Chen@Dell.com> To: <tijl@FreeBSD.org> Cc: <emulation@FreeBSD.org> Subject: RE: FATAL error after upgrade glibc for linux emulation Message-ID: <057de6017678453d91c1f6e2cbfcce81@KULX13MDC127.APAC.DELL.COM> In-Reply-To: <20181218100038.630b9ed4@kalimero.tijl.coosemans.org> References: <d2cafbf01cb64c608637c68a78c46567@KULX13MDC127.APAC.DELL.COM> <20181218100038.630b9ed4@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-emulation@freebsd.org <owner-freebsd- > emulation@freebsd.org> On Behalf Of T?l Coosemans > Sent: Tuesday, December 18, 2018 5:01 PM > To: Chen, Weike <Weike_Chen@Dell.com> > Cc: emulation@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@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?057de6017678453d91c1f6e2cbfcce81>
