Skip to content

Alternate to using rpath #4235

@ocaisa

Description

@ocaisa

In https://stoppels.ch/2022/08/04/stop-searching-for-shared-libraries.html , there' s a discussion about how to get around setting an rpath (and make the binary loading faster). I think it's interesting to consider supporting this as an alternative to our use of rpath.

There is an argument though for not always using it. In #3650, we opened the door to allowing people to override rpaths and that use case is still valid. So, you would want a way to disable this in an easyconfig.

I imagine the implementation could be done inside the current set of wrappers. For the exclusion of a particular path, you'd need to have a pathlike envvar set that can be used to filter from LIBRARY_PATH.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions