-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-compile application with openssl 1.0.2 fails in openssl 1.1.1 environment #1341
Comments
Hi @dilin-MS , To address your issue you might need to compile your application with the same version of openssl you intend to run it with. Try updating the openssl you used to compile your application. |
Hi, I tried to pre-install
But the same applcation can be compiled successfully and worked well with How to compile applcation with azure-iot-sdk-c with |
@dilin-MS , So answering your question you cannot directly build a solution using a custom version of openssl using vcpkg. You will need to either build the code from source how you have done as you described above, or verify with OpenSSL about their plans to update their vcpkg port. |
@dilin-MS , Thanks, |
@ewertons, @dilin-MS, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey |
Hi, I would like to cross-compile my application with azure-iot-sdk-c on a docker container on my host machine, and run the executable binary file on my 32 bits Raspberry Pi, which is running the official Raspbian 32bits.
This is my customized
arm-linux-custom.cmake
file placed undervcpkg/triplets/
directory.The application can be successfully compiled.
On Raspbian openssl is 1.1.1, run the binary directly will cause
error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
.So I run the below commands before run the application.
But execution still fails, showing
Currenly I will have to install openssl 1.0.2 on my Raspbian (
apt-get install libssl1.0 libssl1.0-dev
) and useln -s
to pointlibssl.so.1.0.0
andlibcrypto.so.1.0.0
to1.0.2
.How to make the application able to run in a openssl 1.1.1 environment? Thanks in advance.
The text was updated successfully, but these errors were encountered: