Skip to content

Commit 2554dd8

Browse files
authored
tweaks for openssl 3
1 parent a42c9f5 commit 2554dd8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/1.x/installation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,16 +265,16 @@ Relay requires several system libraries (OpenSSL, hiredis, Concurrency Kit, Zsta
265265
All Relay builds come with a `relay.so` and a `relay-pkg.so`, the latter comes with with `hiredis` and `ck` bundled in, because:
266266

267267
1. Relay requires hiredis `>=1.1.0`
268-
2. Relay on Silicon requires ck `>=0.7.1` (which also hasn't been released)
268+
2. Relay on Silicon requires ck `>=0.7.1`
269269

270270
The OpenSSL dependency can be ignored, because it's typically installed along with PHP.
271271

272272
While you _should_ use the `relay.so` today and have all libraries linked dynamically, you may use the `relay-pkg.so` for convenience.
273273

274-
Alright, now make sure the `relay-pkg.so` has all its dependencies using `ldd` (or `otool` on macOS):
274+
Alright, now make sure the `relay.so` has all its dependencies using `ldd` (or `otool` on macOS):
275275

276276
```bash
277-
ldd /tmp/relay/relay-pkg.so
277+
ldd /tmp/relay/relay.so
278278

279279
# libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff9676d000)
280280
# libssl.so.1.1 => /lib/aarch64-linux-gnu/libssl.so.1.1 (0x0000ffff966d3000)
@@ -283,6 +283,8 @@ ldd /tmp/relay/relay-pkg.so
283283
# liblz4.so.1 => /lib/aarch64-linux-gnu/liblz4.so.1 (0x0000ffff96203000)
284284
```
285285

286+
_If you're looking for OpenSSL 3.0 builds, you need to download the artifact with the `+libssl3` modifier instead.
287+
286288
_If you're seeing a `not a dynamic executable` error, then the downloaded build doesn't match the os/arch, or you're obscure distro is blocking `ldd` calls in `/tmp`._
287289

288290
If any dependency says `not found` the library missing needs to be installed:
@@ -390,7 +392,9 @@ RELAY_INI_DIR=$(php-config --ini-dir) # /etc/php/8.1/cli/conf.d/
390392
RELAY_EXT_DIR=$(php-config --extension-dir) # /usr/lib/php/20210902
391393
RELAY_ARCH=$(arch | sed -e 's/arm64/aarch64/;s/amd64\|x86_64/x86-64/')
392394

395+
# For OpenSSL 3.0 use: `+libssl3.tar.gz`
393396
RELAY_ARTIFACT="https://builds.r2.relay.so/$RELAY_VERSION/relay-$RELAY_VERSION-php$RELAY_PHP-debian-$RELAY_ARCH.tar.gz"
397+
394398
RELAY_TMP_DIR=$(mktemp -dt relay-XXXXX)
395399

396400
## Download artifact

0 commit comments

Comments
 (0)