Skip to content

Commit f6d004c

Browse files
committed
mention to set-rpath, refs #335
1 parent 0e07207 commit f6d004c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.Linux.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ sudo cp out.gn/x64.release/lib*.so out.gn/x64.release/*_blob.bin \
6767
sudo cp -R include/* /opt/v8/include/
6868
```
6969

70+
On Debian Stretch you need to set RPATH on the installed libraries,
71+
so the library loader finds the dependencies:
72+
73+
```
74+
sudo apt-get install patchelf
75+
for A in /opt/v8/lib/*.so; do sudo patchelf --set-rpath '$ORIGIN' $A; done
76+
```
7077

7178
Compile php-v8js itself
7279
-----------------------

0 commit comments

Comments
 (0)