Re: rpath stripping

2022-04-18 Thread Bob Friesenhahn
On Mon, 18 Apr 2022, Richard Purdie wrote: As I understand it the dynamic loader has a set of search paths it falls back to (sys_lib_dlsearch_path in libtool). An RPATH or RUNPATH entry matching a system loader path isn't usually of much use, it just takes up space. It is of use since it

Re: rpath stripping

2022-04-18 Thread Richard Purdie
On Mon, 2022-04-18 at 07:39 -0400, Carlos O'Donell wrote: > On 4/17/22 10:06, Bob Friesenhahn wrote: > > The libtool I was using (originating from Ubuntu Linux) stripped the > > rpath (which was provided like '-Wl,rpath=/usr/lib') so I was unable > > to embed an rpath in the libcurl I built so

Re: rpath stripping

2022-04-18 Thread Carlos O'Donell
On 4/17/22 10:06, Bob Friesenhahn wrote: > The libtool I was using (originating from Ubuntu Linux) stripped the > rpath (which was provided like '-Wl,rpath=/usr/lib') so I was unable > to embed an rpath in the libcurl I built so that applications linked > with that libcurl would find it. I agree