Closed r-darwish closed 8 years ago
I poked at this for a bit, and it looks like one of your dependencies is linking to the dynamic copy of libc:
$ readelf -a ./target/x86_64-unknown-linux-musl/debug/transporter | grep 'Shared library'
0x0000000000000001 (NEEDED) Shared library: [libc.so]
This might be a build.rs
script in a crate somewhere that isn't portable enough, or something else of that nature. I don't think it appears in any of the hyper dependencies, because programs using hyper worked fine for me a couple of weeks ago. So to find this, we're going to need to look at your non-hyper
dependencies, and see if one of them is misbehaving.
I haven't figured out a really efficient way to track errors like this down yet, unfortunately.
Thank you. I'll try to track down which dependency is causing this
First of all, thanks for this image.
When trying to compile this project using
docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder cargo build --release
the resulted binary doesn't seem to be static:I'm probably doing something wrong here, but I couldn't figure out what is it