+ -
当前位置:首页 → 问答吧 → 请问如何同时在fedora core1中安装glibc2.3和glibc2.2

请问如何同时在fedora core1中安装glibc2.3和glibc2.2

时间:2004-07-26

来源:互联网

有没有可能,怎么做?

作者: scopio   发布时间: 2004-07-26

glibc是系统核心包,不可能装2套

作者: 冷风   发布时间: 2004-07-28

这是我在zlibc(一个可以让任何程序直接读取.gz文件的东东)看的邮件列表
----- Original Message -----
From: "Alain Knaff" <[email protected]>
To: "Marnus van Niekerk" <[email protected]>
Cc: <[email protected]>; "Paul Murray" <[email protected]>
Sent: Thursday, May 29, 2003 11:44 PM
Subject: Re: [zlibc] Redhat 8


> On Friday 30 May 2003 08:15, you wrote:
> > > In the meantime, I'd suggest you downgrade to glibc 2.2
> >
> > Could you not install glibc 2.2 in addition to the existing 2.3 and then
> > use the LD_PRELOAD to load it for programs that require zlibc?
> >
> > Marnus
>
> Yes, you can try to install the "old" glibc in /glibc-2.2/lib, and
> then point LD_LIBRARY_PATH to that directory:
>
> mkdir /glibc-2.2
> cd /glibc-2.2
> rpm2cpio glibc-2.2.93-5.i386.rpm| cpio -i --make-directories
>
> ...
> export LD_PRELOAD=uncompress.o
> export LD_LIBRARY_PATH=/glibc-2.2/lib
>
> You may need to recompile zlibc with the old library as well...
>
> Alain

作者: scopio   发布时间: 2004-07-28

看样子似乎可以呀,不过我对rpm2cpio和cpio不了解

引用:
Yes, you can try to install the "old" glibc in /glibc-2.2/lib, and
> then point LD_LIBRARY_PATH to that directory:
>
> mkdir /glibc-2.2
> cd /glibc-2.2
> rpm2cpio glibc-2.2.93-5.i386.rpm| cpio -i --make-directories

作者: scopio   发布时间: 2004-07-28

相关阅读 更多