Browse Source

mention to set-rpath, refs #335

Stefan Siegl 7 years ago
parent
commit
f6d004c367
1 changed files with 7 additions and 0 deletions
  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
 -----------------------