Error - Debian 12 - libcrypto.so.1.1: cannot open shared object file
Opened this issue · 0 comments
Apache log error on start on Debian fresh installation:
PHP Warning: PHP Startup: Unable to load dynamic library 'jwt.so' (tried: /usr/lib/php/20220829/jwt.so (libcrypto.so.1.1: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/jwt.so.so (/usr/lib/php/20220829/jwt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
I do a symbolic link but this does not work:
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
PHP Warning: PHP Startup: Unable to load dynamic library 'jwt' (tried: /usr/lib/php/20220829/jwt (/usr/lib/php/20220829/jwt: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/jwt.so (/lib/x86_64-linux-gnu/libcrypto.so.3: version 'OPENSSL_1_1_0' not found (required by /usr/lib/php/20220829/jwt.so))) in Unknown on line 0