Repository navigation
Can't cross-build Poco for aarch64: openssl/opensslv.h: No such file or directory despite existing header file #5431
Replies: 4 comments
|
poco version 123 ? you mean v1.2.3 ? |
|
|
|
this may be the SONAME. I don't hink it can point to a specific version of the project. |
|
Short answer: this is a toolchain-file problem, not a POCO bug. CMake found the OpenSSL of your host (x86_64 openSUSE), and the aarch64 compiler cannot use it. What happens
Quickest fix: build without OpenSSL If you do not need TLS, configure in a fresh build directory with: These default to ON only because the host OpenSSL was found. If you need TLS: give CMake an aarch64 OpenSSL
Version
#3829 was the same situation with the GNU make build: a toolchain sysroot without OpenSSL. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I can't crosscompile Poco on x86_64 / Linux for aarch64 / Linux, as during the make process, this error occurs:
The header, however, does exist under the following path:
/usr/include/openssl/opensslv.h. Even anexport INCLUDE=/usr/includedid not help.To Reproduce
This has been recommended by Google's AI:
pi_toolchain.cmake:Expected behaviour
I expect Poco to get build successfully.
Please add relevant environment information:
Additional context
The error is quite similar to issue #3829, which has been ignored and closed afterwards.
All reactions