Re: rpath stripping

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
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 influences the search order.  For example, if 
/usr/local/lib is in the system loader path, and the user installs a 
library in /usr/local/lib, then the user likely wants the library she 
has just installed to be used by apps which link with it, rather than 
some similar library in the default system loader path.

Likewise, it is pointless to install a library which will never be 
used.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.