When cross-compiling, adding symbols: file in wrong format is reported, because ld openssl's libcrypto.so and libssl.so use the host machine's so #22249
Unanswered
teleostnacl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm compiling qbittorrent-nox for OpenWrt using luci-app-qbittorrent. During the final linking phase, the following error occurs: error adding symbols: file in wrong format
Full log:
Obviously, the host machine's openssl appears in this link command: /usr/lib/libcrypto.so /usr/lib/libssl.so, resuting in build failed. I have no idea why the host machine's openssl appears.
I have tried some ways, like:
Add in DEPENDS:
+libopenssl
Set pkg-config
I'm in trouble. Can anyone give some tips and helps for me?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions