Skip to content

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

Closed
@dmilith

Description

@dmilith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions