-
Notifications
You must be signed in to change notification settings - Fork 105
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
Provide binary releases (with musl) #255
Comments
On a sidenote, I was trying to build Anyway, here's the error I got:
|
Addressing the sidenote, not the actual issue.
= note: /spare/local/szafar/.conda/envs/rules-engine/bin/ld: warning: libXdmcp.so.6, needed by /usr/lib/x86_64-linux-gnu/libxcb.so, not found (try using -rpath or -rpath-link)
...
error: could not compile `amp` due to previous error
You need libXcb for the clipboard so that yanking/etc properly
dispatches to the x11 clipboard. I just did a quick google, and I
*believe* you can `conda install libxcb`, though I'm not too familiar
with conda, so take this with a grain of salt.
|
@lincolnauster I'd tried installing that conda library already, and all the errors that I reported were after this. Anyway, I was able to get a VM running Ubuntu Xenial (I'm doing all of this on a box at work, which is why all these restrictions.) I had root access on the VM so was able to install I brought the binary built on Ubuntu Xenial back to my machine which is Ubuntu Focal, and the binary worked without any issues. BUT! I wanted to use the same binary on remote production boxes as well (some of which are CentOS, RHEL 6 etc.) There I get this:
Which is expected as well. In other rust tools, I avoid this by using a The build finishes successfully, no errors! BUT! The binary just doesn't run, not on the Xenial VM, not on my Focal box. I get the following error:
I could be wrong, but this probably has something to do with a
If anyone has any more thoughts on this, any help would be appreciated. |
Similar error seen by someone else while building a musl binary: https://stackoverflow.com/questions/64849196/executing-script-with-musl-built-tclsh8-6-gives-no-such-file-or-directory Have already tried what they did (simlinking musl libc, to the interpreter path that binary expects) but it didn't work for me. |
I found a reddit thread with similar errors: It suggested this:
But ldd doesn't show any missing library. Odd?
|
Can you please provide binary releases? I saw that there's already a GitHub workflow that builds via cargo, if we could also upload the build artifacts with the releases, that would be great.
Having a library linked with
musl
would be great as I'd be able to run it on systems with older GLIBC.The text was updated successfully, but these errors were encountered: