Date: Tue, 3 Mar 2009 01:09:43 +0100 From: Pieter de Goeje <pieter@degoeje.nl> To: Edward Ruggeri <smallhand@crawblog.com> Cc: freebsd-questions@freebsd.org Subject: Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 Message-ID: <200903030109.44240.pieter@degoeje.nl> In-Reply-To: <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> <200903020235.07985.pieter@degoeje.nl> <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 02 March 2009, Edward Ruggeri wrote: > Thanks very much! Will this actually change behavior of the Linux > kernel module, or is it just supposed to trick new versions of > linux_base to build? Yes, it changes behaviour. It enables a couple of features new in the Linux= =20 2.6 kernel. Glibc expects these features based on the advertised version of= =20 the compatibility layer. =2D Pieter > > -- Ned Ruggeri > > On Sun, Mar 1, 2009 at 7:35 PM, Pieter de Goeje <pieter@degoeje.nl> wrote: > > On Monday 02 March 2009, Edward Ruggeri wrote: > >> I am using FreeBSD 7.0 Stable. =A0I want to run the Linguistica project > >> Linux binary. =A0However, after loading the Linux kernel module, when I > >> try to run the binary the system replies: > >> > >> ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not > >> found (required by ./lxa-ubuntu-325) > >> ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version > >> `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) > >> > >> Besides asking the Linguistica developers whether they actually must > >> require such recent versions of the GNU C, C++ libraries, I tried to > >> install a more recent linux_base. =A0However, everything beyond > >> linux_base-fc4 does not support Linux kernel 2.4.2. > >> > >> Is there a module for a newer version of the linux kernel that I can > >> build so as to install a newer linux_base? =A0Or is there a way to use > >> the same 2.4.2 module but use more recent GNU C libraries? =A0I am not > >> an expert in this area; is there something I haven't thought of? > > > > You can "upgrade" the linux compatibility layer by setting the sysctl: > > > > =A0compat.linux.osrelease=3D2.6.18 > > > > For example in /etc/sysctl.conf. Then you should be able to install a > > newer version of linux_base. > > > > -- > > Pieter de Goeje
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903030109.44240.pieter>