-
Notifications
You must be signed in to change notification settings - Fork 11
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
Upgrading to new openssl-sys crate fails to link for Lua module #72
Comments
We're using an rlib already, so I'm pretty sure a static link to libopenssl_sys is being attempted. |
cc @wez regarding this one to move convo out from element. |
This is an apparent bug on M1, but described solution doesn't fix it for me: rust-lang/rust#90342 Should verify this works on other non-M1 platforms. |
Resolved by 050bb34. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
See example here: https://github.com/chipsenkbeil/sample-cdylib-wezterm-ssh
A working version (maybe?) is here: https://github.com/chipsenkbeil/sample-cdylib-wezterm-ssh/tree/WorkingVersion
I'm not sure why having wezterm be an indirect dependency and the main library also being a member versus having a top-level consumer of the library would fix this. It may be a false positive as Rust could be filtering out some of the code.
Failure
During linking, I see this on Intel and M1 Macs:
The text was updated successfully, but these errors were encountered: