Skip to content

Broken nightly cargo with broken dependencies (one unmentioned in README) #2198

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

Closed
dmilith opened this issue Dec 6, 2015 · 5 comments
Closed

Comments

@dmilith
Copy link

dmilith commented Dec 6, 2015

Several issues with Cargo:

buildhost /tmp/cargo/target/snapshot/bin # ldd ./cargo ./cargo: libssl.so.8 => /usr/lib/libssl.so.8 (0x801256000) libz.so.6 => /lib/libz.so.6 (0x8014c6000) librt.so.1 => /usr/lib/librt.so.1 (0x8016dd000) libssh2.so.1 => not found (0) libcrypto.so.8 => /lib/libcrypto.so.8 (0x801a00000) libcurl.so.4 => not found (0) libc.so.7 => /lib/libc.so.7 (0x801e4c000) libm.so.5 => /lib/libm.so.5 (0x8021f9000) libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x802422000) libthr.so.3 => /lib/libthr.so.3 (0x802625000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80284a000) libelf.so.2 => /lib/libelf.so.2 (0x802a58000)

  1. Missing libssh2 wasn't mentioned in dependencies.
  2. If you do a build of binary required to perform build, take care of missing libraries without hacking that with LD_LIBRARY_PATH nor DYLD_LIBRARY_PATH. It's called static build. The only thing you need to do is compile all *.o with -fPIC and use -static. Will work on most unixes
  3. If you use LD_LIBRARY_PATH, then you should provide missing prebuilt libraries with nightly build or look p2.
@alexcrichton
Copy link
Member

Is this the FreeBSD snapshot? If so, cc @dhuseby as I believe he built them (note that right now they're not officially supported unfortunately)

@dhuseby
Copy link

dhuseby commented Dec 30, 2015

@dmilith as soon as #30643 lands, I'll add the missing freebsd cargo snapshots.

@sbeckeriv
Copy link
Contributor

Triage: it looks like rust-lang/rust#30643 is closed. I am hoping this issue can be closed as well.

Thanks

@alexcrichton
Copy link
Member

Indeed!

@dmilith
Copy link
Author

dmilith commented May 17, 2016

oh I can't wait to check it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants