Re: glibc-2.3 code on glibc-2.2 system?
- From: "Peter T. Breuer" <ptb@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 01:28:07 +0100
Denes Molnar <molnar@xxxxxxxxxxxxxxxxxx> wrote:
> I have a program that I would like to run on my old glibc-2.2 linux
> (RedHat 7.3) but it requires glibc-2.3. Is there a way to supply those
> libraries only to that particular program but keep the rest of the system
Sure - LD_LIBRARY_PATH and friends.
> intact? I really want to avoid a full system upgrade (it is a notebook
> with all my goodies).
Everyone does this all the time. I run glibc 2.1.
> I tried using LD_LIBRARY_PATH with a copy of Fedora Core 4 libraries
> (libc, libpthread), which keeps the linker happy but the program crashes
> in the end.
Then fix it some more. Find out what else is needed. Smetimes it's not
obvious. You also want to control secondary linkages .. this is not
handled well by LD_LIBRARY_PATH and the solution is usually to run
with ld.so --library-path ... instead.
> Also tried adding libm to the list but does not help.
Keep adding. Locate the crash pint and replace that library.
> P.S: In case it matters, according to ldd, the proggy links against a
It matters.
> whole bunch of additional libraries - librt, libXt, libXext, libXmu,
> libSm, libICE, libX11, libbc, and libdl - but the linker did not complain
> about these.
Doesn't matter - you know better than it.
Peter
.
- References:
- glibc-2.3 code on glibc-2.2 system?
- From: Denes Molnar
- glibc-2.3 code on glibc-2.2 system?
- Prev by Date: grub fallback mechanism
- Next by Date: setup desired behavior for alt-tab
- Previous by thread: Re: glibc-2.3 code on glibc-2.2 system?
- Next by thread: Cadence Tool Disaster
- Index(es):
Relevant Pages
|