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 theinstalled debian9. Clearly, the said binary does not recognize the new library.
Hi,
On 09/26/2017 06:43 PM, Francesco Pietra wrote:
How to make available system-wide (to a program for remote visualizationCan't you just use LD_PRELOAD? e.g.:
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.
# 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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:03:32 |
Calls: | 9,480 |
Calls today: | 1 |
Files: | 13,613 |
Messages: | 6,119,931 |