This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
HowTo deal with linuxthread libraries
- From: John Reiser <jreiser at BitWagon dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 15 Oct 2007 07:30:15 -0700
- Subject: HowTo deal with linuxthread libraries
Helmut <vdr@helmutauer.de> wrote:
> After Gentoo updated to glibc-2.6.1 I recognozied, that linuxthreads
> are no longer supported. Unfortunately one of the main targets of my
> gentoo based distri (gen2vdr) is using an old library which is using
> linuxthreads and is only available as binary (damned closed source).
> There are 2 applications using this beast: vdr and mplayer.
> What do I have to do to keep my system up to date ( using glibc >= 2.6 ),
> but build these applications with glibc 2.5 ?
See http://BitWagon.com/rtldi/rtldi.html for one method that allows
co-existence of multiple runtime versions of glibc.
As for compiling and linking, the safest approach is: don't. Instead,
create an archive of the applications after building under glibc-2.5,
then extract from that archive as necessary.
--