Re: [Libguestfs] [PATCH] appliance: Fix searching for shared libraries on usr-merged Debian systems

2021-08-31 Thread Richard W.M. Jones
On Tue, Aug 31, 2021 at 03:24:08PM +0200, Hilko Bengen wrote: > If /lib is a symlink to usr/lib, paths to shared libraries as > determined by ld.so may differ from dpkg's file lists. > > We turn the filename search pattern into a glob expression by > prefixing it with a '*', so the required

[Libguestfs] [PATCH] appliance: Fix searching for shared libraries on usr-merged Debian systems

2021-08-31 Thread Hilko Bengen
If /lib is a symlink to usr/lib, paths to shared libraries as determined by ld.so may differ from dpkg's file lists. We turn the filename search pattern into a glob expression by prefixing it with a '*', so the required packages are found again: $ dpkg -S /lib/x86_64-linux-gnu/libpcre2-8.so.0