vendredi 3 août 2018

How to not fix OPENSSL version in CMake

I have a problem with OpenSSL version when I use my binary file in other environments. When I run

cmake .. I see this output

Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")

and when I use this in other environments, where OpenSSL version is different(for example 1.0.2d) I receive this error

/lib/x86_64-linux-gnu/libcrypto.so.1.0.2: version `OPENSSL_1.0.2g' not found.

How to solve this issue

Aucun commentaire:

Enregistrer un commentaire