I have a library ( ZendDebugger.so ) which in turn requires the openssl library but it doesn't find a reference to it.
Indeed when ZendDebugger.so loads, it prints this error on the error log ( which is the Apache error_log file in my case ):
Failed loading /usr/lib64/php/7.1/modules/ZendDebugger.so:
libssl.so.1.0.0: cannot open shared object file:
No such file or directory
Then i tried installing openssl:
sudo yum install openssl
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.3 kB 00:00:00
Package 1:openssl-1.0.1k-15.99.amzn1.x86_64 already installed and latest version
Nothing to do
Looks like there is already a custom openssl installed, in this case an Amazon version. So i may want to do something like:
cd /usr/lib64
ln /path/to/amazon/openssl/openssl-1.0.1k-15.99.amzn1.x86_64.so libssl.so
In that way i would create a shared library that gets automatically seen by ZendDebugger.so, since it would be created in /usr/lib64 which is one of the default directories where the executables go to look for their libraries.
But before that, i need to know the path for the openssl-1.0.1k-15.99.amzn1.x86_64 file :
sudo find / openssl-1.0.1k-15.99.amzn1.x86_64
....
....
find: `openssl-1.0.1k-15.99.amzn1.x86_64': No such file or directory
What am i missing? How can i find the path for the Amazon openssl ? Or do you have any other solution? Thanks