Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 02:35:07 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Edward Ruggeri <smallhand@crawblog.com>
Subject:   Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9
Message-ID:  <200903020235.07985.pieter@degoeje.nl>
In-Reply-To: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com>
References:  <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903020235.07985.pieter>