From owner-freebsd-questions@FreeBSD.ORG Tue Mar 3 00:09:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 132D8106566B for ; Tue, 3 Mar 2009 00:09:55 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0C98FC13 for ; Tue, 3 Mar 2009 00:09:53 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id n2309iUQ012558; Tue, 3 Mar 2009 01:09:46 +0100 From: Pieter de Goeje To: Edward Ruggeri Date: Tue, 3 Mar 2009 01:09:43 +0100 User-Agent: KMail/1.9.10 References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> <200903020235.07985.pieter@degoeje.nl> <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> In-Reply-To: <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903030109.44240.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 00:09:55 -0000 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 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