Re: [Libguestfs] [nbdkit PATCH v3] vddk: Drive library loading from libdir parameter.

2020-02-13 Thread Eric Blake
On 2/13/20 4:46 PM, Eric Blake wrote: Instead, we can fix the problem by relying on the fact that Linux provides dlmopen(), which opens a shared library in a new namespace. We first load a shim library into this namespace which overrides the dlopen() present in the main executable, then load

[Libguestfs] [nbdkit PATCH v3] vddk: Drive library loading from libdir parameter.

2020-02-13 Thread Eric Blake
From: "Richard W.M. Jones" Do not use LD_LIBRARY_PATH to locate the VDDK library. Setting this always causes problems because VDDK comes bundled with broken replacements for system libraries, such as libcrypto.so and libstdc++.so. Two problems this causes which we have seen in the real world: