Gentoo Archives: gentoo-dev

From: Felipe Ghellar <fghellar2@×××××××××.br>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] glibc slots
Date: Thu, 06 Feb 2003 23:46:10
Message-Id: 3E42F299.2090507@yahoo.com.br
In Reply to: [gentoo-dev] glibc slots by Mike Hogye
1 This might be interesting:
2
3 Override the GNU C library -- painlessly
4 http://www-106.ibm.com/developerworks/library/l-glibc.html
5
6 "Many of the modern Unixes support the concept of preloading user
7 defined libraries. These libraries can be either complete replacements
8 (that is, a private version of glibc) or subsets -- even a single
9 function. You can use a private version of glibc by setting the
10 LD_LIBRARY_PATH to include your private version of the library first.
11 You can use a subset of library routines that you write by using the
12 LD_PRELOAD environmental value. Both LD_LIBRARY_PATH and LD_PRELOAD are
13 controlled by the dynamic ELF linker/loader. It uses a first match to
14 satisfy any symbol name. By preloading your version of a library or
15 function you short circuit the normal path, allowing you to override it."
16
17
18 Mike Hogye wrote:
19 > Is it deliberate that glibc-2.3.1 goes in SLOT 2.2?
20 >
21 > I'm having problems with Matlab that _seem_ to be coming from glibc-2.3.
22 > It would be helpful to have both 2.2 and 2.3 installed if possible ...
23 > but if they're intentionally in the same slot, that obviously won't
24 > work.
25 >
26 >
27 > --
28 > gentoo-dev@g.o mailing list
29 >
30
31 _______________________________________________________________________
32 Busca Yahoo!
33 O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
34 http://br.busca.yahoo.com/
35
36 --
37 gentoo-dev@g.o mailing list