markdown 如何更改库的rpath

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 如何更改库的rpath相关的知识,希望对你有一定的参考价值。

# How to change rpath value for a library

To change the rpath value to the folder where the lib file is located:

```
$ chrpath -r '$ORIGIN' libexamplelibrary.so
```

If the library has not previously defined rpath value, you have to set it with:

```
$ patchelf --set-rpath '$ORIGIN' libexamplelibrary.so
```

以上是关于markdown 如何更改库的rpath的主要内容,如果未能解决你的问题,请参考以下文章