From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 19:20:42 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 E59C1106597D for ; Mon, 2 Mar 2009 19:20:42 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id AD8BA8FC19 for ; Mon, 2 Mar 2009 19:20:36 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: by qw-out-2122.google.com with SMTP id 3so2063269qwe.7 for ; Mon, 02 Mar 2009 11:20:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.83.138 with SMTP id f10mr3374185qcl.17.1236021635659; Mon, 02 Mar 2009 11:20:35 -0800 (PST) In-Reply-To: <200903020235.07985.pieter@degoeje.nl> References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> <200903020235.07985.pieter@degoeje.nl> Date: Mon, 2 Mar 2009 13:20:35 -0600 Message-ID: <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> From: Edward Ruggeri To: Pieter de Goeje Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Mon, 02 Mar 2009 19:20:44 -0000 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? -- 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 new= er > version of linux_base. > > -- > Pieter de Goeje >