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
undefined reference to `tree_sitter_sql_external_scanner_deserialize' collect2: error: ld returned 1 exit status #339
Comments
same issue here (on another Linux distro), and while previous release installs without any issue: cargo install --version 0.32.0 difftastic --force |
Yeah, I'm seeing this too. It's failing on my personal laptop (Arch Linux, rustc 1.62) as well, although CI is green. This was probably broken by #329. I think newer versions of rustc are broken after this change. Getting the build.rs working reliably on latest Rust stable, as well as the version specified in rust-toolchain.toml, for both Linux and Windows, is proving very tricky. |
I've added the latest stable to GitHub CI in 94ee570 but CI is still passing fine. I wonder what's different about my local machine, maybe it's a C compiler thing? |
It looks like CI is using pinned in the rust-toolchain rust version 1.57, but when you run |
We just bumped the version in Arch Linux by patching: specifically reverting 003cbb2. |
I noticed that I can reproduce this with rustc 1.63, but not with 1.58.1. |
Based on rust-lang/rust#95561 I think the build needs to set whole-archive. |
Getting the same issue with WSL2 for Oracle Linux 7.9. I did updated the gcc to latest 11. Trying to build by downloading the source (0.34) also fails with the same error message. Trying below works cargo install --version 0.32.0 difftastic --force Please fix it for latest version |
Please specify the syntax to set +whole-archive |
chore: generate and sync latest changes
versions
I tried installing these tree-sitter packages but it didn't help:
The text was updated successfully, but these errors were encountered: