Re: [PATCH] usertools/pmdinfo: remove dependency to ldd

2022-10-18 Thread Olivier Matz
On Fri, Oct 14, 2022 at 04:02:02PM +0200, Olivier Matz wrote: > Hi Robin, > > On Thu, Oct 13, 2022 at 03:41:25PM +0200, Robin Jarry wrote: > > Some environments (buildroot) do not have the ldd utility installed by > > default. However, ldd is often only a wrapper shell script that actually > > che

Re: [PATCH] usertools/pmdinfo: remove dependency to ldd

2022-10-14 Thread Olivier Matz
Hi Robin, On Thu, Oct 13, 2022 at 03:41:25PM +0200, Robin Jarry wrote: > Some environments (buildroot) do not have the ldd utility installed by > default. However, ldd is often only a wrapper shell script that actually > checks that the arguments are valid ELF files and executes them with > the LD

[PATCH] usertools/pmdinfo: remove dependency to ldd

2022-10-13 Thread Robin Jarry
Some environments (buildroot) do not have the ldd utility installed by default. However, ldd is often only a wrapper shell script that actually checks that the arguments are valid ELF files and executes them with the LD_TRACE_LOADED_OBJECTS=1 variable set in the environment. Since ld.so is the act