> -----Original Message-----
> From: Gilad Ben-Yossef [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 03, 2003 10:56 AM
> To: Isaac Aaron
> Cc: [EMAIL PROTECTED]
> Subject: Re: Multiple GLIBCs
> 
> 
> Isaac Aaron wrote:
> > Hi List
> > 
> > Running Red Hat 7.3 requires me to recompile everything I want 
> from Red Hat 9 (or that is avaliable to Red Hat) before I install it. 
> > 
> > I'm looking for a way to co-install GLIBC 2.3 with the existing 
> GLIBC 2.1.
> > Any opinions?
> > 
> 
> No problem at all. Linux (like other Un*x like systems) has a rather 
> elegant way to deal with libraries. When you install the RPM (I'm 
> assuming you using RPM)  make sure to "install" with -i rather then 
> upgrade with -U.
> 

Won't I need a --force there?
How about if I just "steal" the libc* files (not links) and drop them on the /usr/lib 
directory. Would that satisfy the RPM "Requires" directive?

> When the RPM will run ldconfig it will set things up so that any program 
> that explicitly asks for the older version will get it, a program that 
> does not specify a specific version will get the latest, and if a 
> program seems to mis behave with the newer lib you can always use 
> LD_PRELOAD (man ld.so) to override.

That seems to do the trick as long as the small stuff "util-linux" "fileutils" are all 
linked in a way that won't mess up the whole installation.
Red hat used to have compat-glibc-* packages which contained older glibc libraries. 
For some reason they don't do that anymore (to promote the advanced server?). What 
would really be nice is if I had a way to prepare such RPMS by myself (install 
cleanly, work with any version).

> 
> In short - don't worry, be happy ;-)

I WILL! I PROMISE!
Thanks
Isaac Aaron
> 
> Cheers,
> Gilad.
> 


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to