Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-05-2004, 10:03 AM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Ubuntu 10.10, Windows 7
Posts: 24

Rep: Reputation: 1
Two glibc versions, one system: Possible?

I've been trying (and failing) to run Cinelerra (, a video editing program.

The program consistantly crashes (see for me, and apparently only me. The problem is currently suspected to be a lack of compatability witn NPTL support, with which the glibc binary provided by Debian Sid is apparently compiled.

The prospect of recompiling/downgrading everything on my machine to run with a non-NPTL version of glibc: Not Fun.

I'm wondering if there's an alternate way: would it be possible to keep a second, non-NPTL glibc on my system and let Cinelerra, and only Cinelerra, link against it or whatever would have to be done to make it work?
Old 09-05-2004, 12:14 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Possible, yes; easy no. Probably the easiest way to do something like this is build/install a new glibc in some other directory and then set your LD_LIBRARY_PATH to that directory and statically link the executable with the different libc (that way you don't need to keep the libc around). There was a thread on usenet on how to do this, but it doesn't give a lot of details and I'm hesitant to say much more myself, since I've never actually tried this. If you search google groups for "glibc ld" with a date range including September 2 you should find the thread.

Remember, whatever you do, don't touch your current glibc or modify it in any way, otherwise you risk making your OS worthless (time for a reinstall).
Old 09-05-2004, 12:40 PM   #3
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i think rh9 shipped with a ABI kernel patch thingy
that gives you what you need

try from a shell emulator
then start the app from that shell

export LD_ASSUME_KERNEL=2.2.5
this one gives you the libs in /lib very early LinuxThreads code which had fixed size threads


export LD_ASSUME_KERNEL=2.4.1
this one gives you the libs in /lib/i686 more modern LinuxThreads code with foating stack

and see if it works better

the NTPL code is
export LD_ASSUME_KERNEL=2.4.20
this one gives you the libs in /lib/tls that are NPTL

Last edited by foo_bar_foo; 09-05-2004 at 12:50 PM.
Old 09-05-2004, 04:28 PM   #4
LQ Newbie
Registered: Nov 2003
Distribution: Ubuntu 10.10, Windows 7
Posts: 24

Original Poster
Rep: Reputation: 1
Originally posted by foo_bar_foo
export LD_ASSUME_KERNEL=2.4.1
this one gives you the libs in /lib/i686 more modern LinuxThreads code with foating stack
I think this is the one I want. But I don't quite get *when* I should run that command...before I run a configure/compile of the program? Or before I run the program itself?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple versions of GLIBC El Craigo Red Hat 2 08-12-2004 12:14 AM
how to use older versions of glibc turls Programming 4 07-07-2004 04:40 PM
Why do we need so many versions of glibc? deanbrown3d Linux - Newbie 4 06-29-2004 12:17 PM
versions of Glibc elwis Linux - Software 3 12-12-2003 04:31 PM
Linking with different versions of glibc. dimm_coder Programming 2 11-25-2003 07:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration