Les Mikesell
2015-Mar-31 18:15 UTC
[CentOS] Building a newer glibc RPM for CentOS 6 and installing into an alternate path
On Tue, Mar 31, 2015 at 12:43 PM, Alfred von Campe <alfred at von-campe.com> wrote:> On Mar 31, 2015, at 12:21, Jim Perrin <jperrin at centos.org> wrote: > >>> Isn't this the problem that docker was invented to solve? >> >> >> Yes, you could address this with docker quite easily, depending on the app. > > 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. In > the mean time, we?ve requested a CentOS 6 compatible .shared library from our > vendor, and I?m keeping my fingers crossed while waiting for their reply.What about remote exectution? You might even give it access to local files with x2go. -- Les Mikesell lesmikesell at gmail.com
m.roth at 5-cent.us
2015-Mar-31 18:21 UTC
[CentOS] Building a newer glibc RPM for CentOS 6 and installing into an alternate path
Les Mikesell wrote:> On Tue, Mar 31, 2015 at 12:43 PM, Alfred von Campe <alfred at von-campe.com> > wrote: >> On Mar 31, 2015, at 12:21, Jim Perrin <jperrin at centos.org> wrote: >> >>>> Isn't this the problem that docker was invented to solve? >>> >>> Yes, you could address this with docker quite easily, depending on the >>> app. >> >> 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 awhile. <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? mark
Les Mikesell
2015-Mar-31 19:06 UTC
[CentOS] Building a newer glibc RPM for CentOS 6 and installing into an alternate path
On Tue, Mar 31, 2015 at 1:21 PM, <m.roth at 5-cent.us> 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 at gmail.com
Possibly Parallel Threads
- Building a newer glibc RPM for CentOS 6 and installing into an alternate path
- Building a newer glibc RPM for CentOS 6 and installing into an alternate path
- Building a newer glibc RPM for CentOS 6 and installing into an alternate path
- Building a newer glibc RPM for CentOS 6 and installing into an alternate path
- Building a newer glibc RPM for CentOS 6 and installing into an alternate path