-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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-compiling issue with libcrypto on Linux #674
Comments
I tried to specify linker flags in different manners, but with no effect:
[target.x86_64-apple-darwin]
linker = "x86_64-apple-darwin14-clang"
ar = "x86_64-apple-darwin14-ar"
rustflags = [
"-L", "/zinc-dev/[email protected]/1.1.1g/lib",
"-C", "link-args=-lssl",
"-C", "link-args=-lcrypto",
] |
I am not associated with For a discussion of the various fixes and workarounds people have used, see #670. |
@emk , thank you very much! |
@emk , thanks one more time!
to |
I have an Ubuntu Docker image which cross-compiles my application for MacOS.
I use
osxcross
tools and theOpenSSL 1.1.1g
build.All the crates which depend on
openssl-sys
are built without errors, but I have an issue withsqlx-macros
, which requires somelibcrypto
symbols, and for some reasonrustc
is unable to find the library.Could you please give a hint?
The text was updated successfully, but these errors were encountered: