浏览代码

mention to set-rpath, refs #335

Stefan Siegl 7 年之前
父节点
当前提交
f6d004c367
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      README.Linux.md

+ 7 - 0
README.Linux.md

@@ -67,6 +67,13 @@ sudo cp out.gn/x64.release/lib*.so out.gn/x64.release/*_blob.bin \
 sudo cp -R include/* /opt/v8/include/
 ```
 
+On Debian Stretch you need to set RPATH on the installed libraries,
+so the library loader finds the dependencies:
+
+```
+sudo apt-get install patchelf
+for A in /opt/v8/lib/*.so; do sudo patchelf --set-rpath '$ORIGIN' $A; done
+```
 
 Compile php-v8js itself
 -----------------------