Skip to content

question about linked library of linuxbrew's executable file #99

Discussion options

You must be logged in to vote

RPATH is searched before LD_LIBRARY_PATH is searched before RUNPATH.
See https://amir.rachum.com/blog/2016/09/17/shared-libraries/
Homebrew on Linux uses patchelf --force-rpath --set-rpath=… to use RPATH rather than the default RUNPATH.
Note that RPATH predates the creation of RUNPATH.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sjackman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants