You are not logged in.

#1 2017-04-02 00:11:46

hagabaka
Member
Registered: 2010-12-15
Posts: 34

openssl-1.0

Hi,

I am on [testing] and recently a closed-source program stopped working due to openssl, with these error messages:

[01/04 18:17:50.661]{T001}WARNING /src/crypto/OpenSSLWrapper.cpp L35  : OpenSSL : unable tu resolve OpenSSL_add_all_digests
[01/04 18:17:50.661]{T001}WARNING /src/crypto/OpenSSLWrapper.cpp L35  : OpenSSL : unable tu resolve EVP_MD_CTX_init
[01/04 18:17:50.661]{T001}WARNING /src/crypto/OpenSSLWrapper.cpp L35  : OpenSSL : unable tu resolve EVP_MD_CTX_cleanup
[01/04 18:17:50.661]{T001}WARNING es/src/crypto/OpenSSLWrapper.h L47  : OpenSSL_add_all_digests is null - please make sure openssl 0.9.8+ is properly installed
[01/04 18:17:50.662]{T001}WARNING es/src/crypto/OpenSSLWrapper.h L47  : EVP_MD_CTX_init is null - please make sure openssl 0.9.8+ is properly installed

I currently have openssl 1.1.0.e-1 and openssl-1.0 1.0.2.k-2 installed. ldd shows that the program uses libssl.so.1.0.0 and libcrypto.so.1.0.0, which are provided by the openssl-1.0 package.

This error goes away if I install openssl 1.0.2.k-1 from [core]. Obviously it's a bad workaround since pacman itself will be unable to link to openssl (I had to download the package from the website and put the files back manually). But it does make the aforementioned program work.

How can I solve this problem properly?

Offline

#2 2017-04-02 00:25:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: openssl-1.0

Containerisation.



Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-02 00:46:59

hagabaka
Member
Registered: 2010-12-15
Posts: 34

Re: openssl-1.0

Why does using  openssl 1.0.2.k-1 work, but not openssl-1.0 1.0.2.k-2 though?

Offline

#4 2017-04-02 00:51:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: openssl-1.0

No idea: have a look at the changelog.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-04-02 00:56:06

mis
Member
Registered: 2016-03-16
Posts: 234

Re: openssl-1.0

I guess because /usr/lib/libssl.so points to /usr/lib/libssl.so.1.1 if you have installed openssl from [testing].

Offline

#6 2017-04-02 01:07:53

hagabaka
Member
Registered: 2010-12-15
Posts: 34

Re: openssl-1.0

mis wrote:

I guess because /usr/lib/libssl.so points to /usr/lib/libssl.so.1.1 if you have installed openssl from [testing].

You're right. Although ldd says the program links to /usr/lib/libssl.so.1.1, it apparently still needs libssl.so to link to it also. If I run it with LD_LIBRARY_PATH=/usr/lib/libssl-1.0/ (which includes symlinks to the so.1.0 files) it works. Thanks!

Offline

Board footer

Powered by FluxBB