On Thu 09/13/07 at 20:28 PM, joseph at esuria.com.bn wrote:
> Can anyone share with me how to install glibc 2.5 as a test library to
> run a Linux application? One of my application is compiled using GCC
> 4.1.1 in Fedora Core 6 (glibc 2.5). It is a commercial software and comes
> with no source code. I need it to run on lx brand zone running Centos 3.8
> (glibc 2.3.2). 

I suspect this won't work.  If the application really needs glibc 2.5, then
it wouldn't be surprising if it also needed kernel-level functionality not
offered by the 2.4.21 kernel.  In general, when you try to replace an
individual core system component, there's a good chance that you'll find
other dependencies.  For example, glibc might require a new linker.  Or,
you may find that the installed libm.so needs something from the older
glibc.

With all that said, it couldn't hurt to try.  If you want to live
dangerously, and don't mind having to reinstall your zone, you could just
try 'rpm -U glibc-<whatever>'.  You might need to add '--nodeps' as well.
Even if this appears to work, there's no guarantee that it won't cause the
zone to fail mysteriously sometime in the future.

A less risky approach would be to simply copy the /lib/libc* and /lib/tls
from an FC6 machine into (for example) /fc6/lib, set LD_LIBRARY_PATH to
/fc6/lib, and try the application again.

This is really more of a glibc/Linux question than a BrandZ question, so
you might have better luck looking for an answer from the Linux community
and/or the glibc documentation.


Reply via email to