From f6d004c367b9b0d2cd7989c04c16fc1eee5e1347 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Sat, 6 Jan 2018 16:58:06 +0100 Subject: [PATCH] mention to set-rpath, refs #335 --- README.Linux.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.Linux.md b/README.Linux.md index 6137bdc..43c0928 100644 --- a/README.Linux.md +++ b/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 -----------------------