-
Notifications
You must be signed in to change notification settings - Fork 507
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
Trying to build for x86_64-unknown-linux-musl #3400
Comments
Hi @pepa65 I don't know Linux Mint distribution but I've the impression that the packet manager is From https://hurl.dev/docs/installation.html#debian-based-distributions
With Also, could you explain why you're modifying the Thanks |
Yes, I have installed all the packages you mention (otherwise I wouldn't have gotten this far...). If I don't have LIBXML2 set, the build ends at If I don't add If you're really interested to see if |
I'm sorry I've zero experience with musl so consider me as a complete rookie here. Is your goal to build a static binary of Hurl, using musl? What about libcurl and libxml which are dynamically linked in the libc version? Do you need also they to be statically linked to the final library? I try to distinguish the problem and I would like to know if Linux Mint is part of it. From what I understand, we can try to build for Thanks a lot! |
I like to have static binaries that I can easily distribute to my different (Linux) systems with different versions of glibc etc. Nothing to do with Linux Mint, it's just what I was using right now. You can do the same on Debian or Fedora, with the same results (depending how you set up the tool chain, like install Yes, hurl compiles fine with the default target, and even with the openssl-sys dependency added to |
I added
openssl-sys = { version = "0.9.104", features = ["vendored"] }
inpackages/hurl/Cargo.toml
as a dependency. And I didexport LIBXML2=/usr/lib/x86_64-linux-gnu/libxml2.so
(this is on Linux Mint 22). But I get stuck at:The text was updated successfully, but these errors were encountered: