Re: Building a newer glibc RPM for CentOS 6 and installing into an alternate path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Mar 31, 2015 at 1:21 PM,  <m.roth@xxxxxxxxx> wrote:
>>>>
>>> Perhaps, but I’m running CentOS 6.6 i686 (i.e., 32-bit), and it appears
>>> that Docker requires 64-bit.  Oh well, I was getting my hopes up for a
> while.
> <snip>
> I haven't really been following this thread closely, but would it be a
> dumb question to suggest installing the rpm with the relocate flag, and
> then use LD_LIBRARY_PATH?
>

It was mentioned earlier that LD_LIBRARY_PATH doesn't work with libc,
but LD_PRELOAD should..  I tried unpacking a centos7 glibc rpm under
/tmp/c7libs on a centos 6 box and trying to run a centos7 version of
cat with:

LD_LIBRARY_PATH=/tmp/c7libs/lib64:$LD_LIBRARY_PATH
LD_PRELOAD="/tmp/c7libs/lib64/ld-linux-x86-64.so.2
/tmp/c7libs/lib64/libc.so.6"   /tmp/cat-7 /tmp/test

seems to work, but that's not a real demanding test...

-- 
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux