-
Notifications
You must be signed in to change notification settings - Fork 393
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
Unable to find libclang.so
#731
Comments
works kinda on the newest images, either pull the newest unreleased cross version to override whatever actions-rs does, or set
seems like there's some more issues though, |
We are using Does changing env work for actions-rs/cargo? Edit: Seems like that we can adjust the image in |
Yes, it works for everything using cross. You can adjust the image in the Cross.toml too ofc :) |
@Emilgardis The build still failed for armv7 glibc and aarch64 glibc:
|
As mentioned, missing We should include that, pr pending :) |
Ok, sorry I missed that part. |
hmm, seems like that's not it |
alright! Seems like you should enable the doing that however, we find that the version in ubuntu 16.04 is too old, which probably means you need this: https://github.com/cross-rs/cross/wiki/FAQ#newer-linux-versions / #591 ping #678 (this would be a great help for this scenario...) |
@Emilgardis We need it to be statically linked so that it can run on everywhere, so we probably cannot use external version of |
of course, the issue is not with cross now however, you need to install zstd and clang-3.9 in the image that cross uses so that it/cargo/bindgen can find the relevant files. |
instead of this, you could manually get the files needed and place them in the normal places or make cargo understand where they live |
@Emilgardis Is there anyway to fix
We can wait for the PR that fixes this. Can you please point to me which PR fixes this issue so that we can subscribe and wait for it? |
the fix for it is for you to enable the |
The other issues you'll encounter are solved with something like https://github.com/cross-rs/cross/wiki/Recipes and https://github.com/cross-rs/cross/wiki/FAQ#custom-images |
When using
cross
to cross compiling cratezstd
in PR cargo-bins/cargo-binstall#148, the CI thatuse-cross: true
all failed withlibclang.so
not found.Edit:
The PR enabled feature
bindgen
ofzstd
andbindgen
useslibclang.so
to parse C headers.The text was updated successfully, but these errors were encountered: