I am trying to install and use a binary package of a DB software but after setting my environment variables in ~/.profile
as following:
export LD_LIBRARY_PATH=/usr/local/DB/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/DB/bin:$PATH
export Data=/path/to/make/db_cluster
I am getting the following error:
libssl.so.10: cannot open shared object file: No such file or directory
Then I used the following instructions:
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev
cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
but still getting errors regarding it when using for example initdb:
initdb:/lib/x86_64-linux-gnu:libssl.so.10 : versio 'libssl.so.10' not found: (required by home/user/dbfolder/lib/libpq.so.5)
Any help will be appreciate it.
On CentOS 8 the missing lib is included in the compat-openssl10 package, just run:
yum install compat-openssl10
And all works fine...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With