How to set RunPath of a binary?

后端 未结 1 434
走了就别回头了
走了就别回头了 2021-01-13 12:14

There are countless threads describing what is RPATH, RUNPATH and LD_LIBRARY_PATH and how they interact in order to resolve libraries\

1条回答
  •  走了就别回头了
    2021-01-13 12:43

    Seems runpath is set to the -Wl value if you pass --enable-new-dtags

    http://blog.tremily.us/posts/rpath/

    This links seems to suggest the difference in use for rpath and runpath seems to be their order in the search list:

    http://en.wikipedia.org/wiki/Rpath

    0 讨论(0)
提交回复
热议问题