Error creating new sites due to missing shared libraries on Linux

Installed local and tried to just make a new site but get the following error during site setup

Error: Command failed: /opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php /opt/Local/resources/extraResources/site-binaries-linux/wp-cli/wp-cli.phar --path=/home/sam/Local Sites/rest/app/public core config --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts
/opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Just got the same error, during Wordpress installation

opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Hello !

I succeded in installing Local on Linux 16.04, but when creating a new site, I get an error during Wordpress installation :

{“thread”:“main”,“class”:“Process”,“process”:“phpFpm”,“level”:“warn”,“message”:"/opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/sbin/php-fpm-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory",“timestamp”:“2019-11-29T20:04:49.096Z”}

I did some research, solution seems to link libssl.so.1.1 to libssl.so.1.0.0, and after that i got a new error, that I haven’t managed to fix

{“thread”:“main”,“class”:“Process”,“process”:“phpFpm”,“level”:“warn”,“message”:"/opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/sbin/php-fpm-original: /lib/x86_64-linux-gnu/libssl.so.1.1: version `OPENSSL_1_1_0’ not found (required by /opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/sbin/php-fpm-original)",“timestamp”:“2019-11-29T20:59:03.549Z”}

When I try to create a site, I’m getting this error message:

Error: Command failed: /opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php /opt/Local/resources/extraResources/site-binaries-linux/wp-cli/wp-cli.phar --path=/home/michael/Local Sites/blockeditortest/app/public core config --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts
/opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Hey @mlsmith45 –

Can you provide a little more information about this? What OS are you using, it appears to be some kind of Linux?

Can you please provide your Local Log? See this Community Forum post for instructions on how to do so:

Hi Ben,

Thanks for the reply. Sorry I forgot to include that. I am using linux mint.

1 Like

sorry it took me a while to find this. I hope this helps figure out what’s going on.

local-lightning.log (25.3 KB)

I’ve consolidated the various topics that appear to all be related to a missing libssl.so.1.1 file under Linux, so let’ see if we can narrow down what’s going on!

@samd21313 – Can you let us know a little more info about what OS is being used like the type (Fedora, Ubuntu) and version (ie, Ubuntu 18.04)?

@mlsmith45 – What version of Mint are you using?

@amaurea – that second error after linking the two files makes me think that the linking didn’t actually fix the underlying issue. Do you have the resource you were working from that recommended linking libssl.so.1.1 to libssl.so.1.0?

I am on Manjaro Linux. I too get an error when trying to create a site.

1 Like

https://github.com/openssl/openssl/issues/7658

https://serverfault.com/questions/818445/error-while-loading-shared-libraries-libcrypto-so-1-1

https://www.bswen.com/2018/11/others-Openssl-version-cause-error-when-loading-shared-libraries-libssl.so.1.1.html

https://askubuntu.com/questions/339364/libssl-so-10-cannot-open-shared-object-file-no-such-file-or-directory

https://stackoverflow.com/questions/42828083/error-while-loading-shared-libraries-usr-local-lib64-libssl-so-1-1

Le jeu. 5 déc. 2019 à 23:29, Ben Turner via Local by Flywheel local@getflywheel.com a écrit :

1 Like

Hi Ben,

sorry for delayed response. I’ve been offline for a few days. I am using Linux Mint 18 Cinnamon 64-bit. The version of cinnamon is 3.0.7.

I hope that helps.

1 Like

Hi Guys,

I actually just went through the process of getting Local to work on Manjaro, and I discovered there may be some legacy AUR dependencies that Manjaro doesn’t have by default. Try running the following and provisioning the site again:

sudo pamac install ncurses5-compat-libs nettle6

If running something other than manjaro, look for your own corresponding libraries.

Let me know if that helps.

1 Like

Error: Command failed: /opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php /opt/Local/resources/extraResources/site-binaries-linux/wp-cli/wp-cli.phar --path=/home/madara/Local Sites/test2/app/public core config --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts
/opt/Local/resources/extraResources/site-binaries-linux/php-7.3.5/bin/php-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I too have same issues

Screenshot from 2020-01-19 19-22-16

Hey @Flemin –

From the screenshot, it looks like this is the Ambient theme, probably Ubuntu. Can you confirm what version of Linux is installed?

Older versions of Ubuntu have some of the shared libraries linked incorrectly.

Bonjour,
J’ai la même erreur que Flemin lors de la création d’un site avec la version PHP 7.3.5
Je suis sous Ubuntu, dernière version 16.04
Cordialement

Bonjour,
Problème résolu suite à la mise à jour d’Ubuntu 16.04 --> 18.04

1 Like

Hi Ben,

I just tried using Local again on my lInux Mint install. I downloaded the latest version of Local and did all the Linux updates before trying. I got this error message:

Error: Command failed: /opt/Local/resources/extraResources/lightning-services/php-7.3.5+3/bin/linux/bin/php /opt/Local/resources/extraResources/bin/wp-cli/wp-cli.phar --path=/home/michael/Local Sites/blocktest/app/public --require=/opt/Local/resources/extraResources/bin/wp-cli/local-wpcli-error-reporting.php core config --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts
/opt/Local/resources/extraResources/lightning-services/php-7.3.5+3/bin/linux/bin/php-original: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Same problem for me on Fedora 32:

1 Like

A post was split to a new topic: Error creating new sites with missing Local.php