From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 01:35:14 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 A5215106566C for ; Mon, 2 Mar 2009 01:35:14 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1965C8FC13 for ; Mon, 2 Mar 2009 01:35:13 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id n221Z8IS024912; Mon, 2 Mar 2009 02:35:08 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Mon, 2 Mar 2009 02:35:07 +0100 User-Agent: KMail/1.9.10 References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> In-Reply-To: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903020235.07985.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: Edward Ruggeri 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 01:35:15 -0000 On Monday 02 March 2009, Edward Ruggeri wrote: > I am using FreeBSD 7.0 Stable. I want to run the Linguistica project > Linux binary. However, 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. However, 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? Or is there a way to use > the same 2.4.2 module but use more recent GNU C libraries? I 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: compat.linux.osrelease=2.6.18 For example in /etc/sysctl.conf. Then you should be able to install a newer version of linux_base. -- Pieter de Goeje