Re: libX11.so.6 in a chroot

Francesco Pietra <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <CAEv0nmst=z9nf-UR82=RB335Ke080st=NFMJa8u2QWzuiW719Q@mail.gmail.com>
Hi Thomas:
Thanks a lot for LD_PRELOAD. It works fine for remote visualization at a
cluster with GPUs

francesco

On Wed, Sep 27, 2017 at 10:02 AM, Thomas Lamprecht <[email protected]>
wrote:

> Hi,
>
> On 09/26/2017 06:43 PM, Francesco Pietra wrote:
>
>> How to make available system-wide (to a program for remote visualization
>> on which I have no command, as it is provided as a binary file) a previous
>> version of libX11.so.6 in a chroot? Specifically, I mean making available
>> that library of debian8 to the installed debian9. Clearly, the said binary
>> does not recognize the new library.
>>
>>
> Can't you just use LD_PRELOAD? e.g.:
>
> # LD_PRELOAD=/path/to/your/library.so /bin/ls
>
> For more information see: man 8 ld.so
>
> Else just copy all libraries and binaries to the chroot - may also just do
> this with a link - and replace the one desired.
>
> cheers,
> Thomas
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.