[GH-ISSUE #57] Installation problem on CentOS7 #26

Closed
opened 2026-06-08 11:25:21 +03:00 by zhus · 5 comments
Owner

Originally created by @wdecoster on GitHub (Jan 20, 2020).
Original GitHub issue: https://github.com/bootandy/dust/issues/57

Hi,

This looks great. I wanted to install this on our CentOS7 cluster, but it runs into an error, for which I believe the key part is:

 = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          collect2: error: ld returned 1 exit status

Full error below:

$ cargo install du-dust
    Updating crates.io index
  Installing du-dust v0.4.4
   Compiling autocfg v0.1.7
   Compiling semver-parser v0.7.0
   Compiling cfg-if v0.1.10
   Compiling lazy_static v1.4.0
   Compiling libc v0.2.66
   Compiling scopeguard v1.0.0
   Compiling rayon-core v1.7.0
   Compiling bitflags v1.2.1
   Compiling either v1.5.3
   Compiling unicode-width v0.1.7
   Compiling ansi_term v0.11.0
   Compiling strsim v0.8.0
   Compiling vec_map v0.8.1
   Compiling ansi_term v0.12.1
   Compiling textwrap v0.11.0
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.build_script_build.211rs0xc-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.build_script_build.211rs0xc-cgu.1.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.3g6uguohz55x28e8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `rayon-core`.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.1.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.10.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.11.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.12.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.2.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.3.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.4.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.5.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.6.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.7.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.8.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.9.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.2tulew8g0xjtlar5.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `bitflags`.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.1.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.10.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.11.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.12.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.13.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.14.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.15.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.2.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.3.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.4.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.5.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.6.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.7.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.8.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.9.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.3q2jtolj7xqfp7y.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `du-dust v0.4.4`, intermediate artifacts can be found at `/tmp/cargo-install7sSh8x`

Caused by:
  build failed

Originally created by @wdecoster on GitHub (Jan 20, 2020). Original GitHub issue: https://github.com/bootandy/dust/issues/57 Hi, This looks great. I wanted to install this on our CentOS7 cluster, but it runs into an error, for which I believe the key part is: ``` = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory collect2: error: ld returned 1 exit status ``` Full error below: ``` $ cargo install du-dust Updating crates.io index Installing du-dust v0.4.4 Compiling autocfg v0.1.7 Compiling semver-parser v0.7.0 Compiling cfg-if v0.1.10 Compiling lazy_static v1.4.0 Compiling libc v0.2.66 Compiling scopeguard v1.0.0 Compiling rayon-core v1.7.0 Compiling bitflags v1.2.1 Compiling either v1.5.3 Compiling unicode-width v0.1.7 Compiling ansi_term v0.11.0 Compiling strsim v0.8.0 Compiling vec_map v0.8.1 Compiling ansi_term v0.12.1 Compiling textwrap v0.11.0 error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.build_script_build.211rs0xc-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.build_script_build.211rs0xc-cgu.1.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee" "/tmp/cargo-install7sSh8x/release/build/rayon-core-f7f2f1f46b6e30ee/build_script_build-f7f2f1f46b6e30ee.3g6uguohz55x28e8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `rayon-core`. warning: build failed, waiting for other jobs to finish... error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.1.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.10.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.11.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.12.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.2.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.3.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.4.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.5.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.6.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.7.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.8.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.build_script_build.681e3too-cgu.9.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf" "/tmp/cargo-install7sSh8x/release/build/bitflags-3969f63208505ddf/build_script_build-3969f63208505ddf.2tulew8g0xjtlar5.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `bitflags`. warning: build failed, waiting for other jobs to finish... error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.0.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.1.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.10.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.11.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.12.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.13.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.14.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.15.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.2.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.3.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.4.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.5.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.6.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.7.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.8.rcgu.o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.build_script_build.8innslw3-cgu.9.rcgu.o" "-o" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728" "/tmp/cargo-install7sSh8x/release/build/libc-024ef14981899728/build_script_build-024ef14981899728.3q2jtolj7xqfp7y.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-install7sSh8x/release/deps" "-L" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/home/wdecoster/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `libc`. warning: build failed, waiting for other jobs to finish... error: failed to compile `du-dust v0.4.4`, intermediate artifacts can be found at `/tmp/cargo-install7sSh8x` Caused by: build failed ```
zhus closed this issue 2026-06-08 11:25:21 +03:00
Author
Owner

@bootandy commented on GitHub (Jan 20, 2020):

Ok thanks,

Did this happen with version 0.4.3 ? Can I ask you to try building the previous version instead?

<!-- gh-comment-id:576197483 --> @bootandy commented on GitHub (Jan 20, 2020): Ok thanks, Did this happen with version 0.4.3 ? Can I ask you to try building the previous version instead?
Author
Owner

@wdecoster commented on GitHub (Jan 20, 2020):

Sure, happy to try a few things to troubleshoot. How should I build for the previous version? With cargo?

<!-- gh-comment-id:576199273 --> @wdecoster commented on GitHub (Jan 20, 2020): Sure, happy to try a few things to troubleshoot. How should I build for the previous version? With cargo?
Author
Owner

@bootandy commented on GitHub (Jan 20, 2020):

yes if you could try checking out an earlier version then try installing it with cargo ,

I see 'rayon' is listed in the error stack so you could try version 0.3 before rayon was introduced.

<!-- gh-comment-id:576328991 --> @bootandy commented on GitHub (Jan 20, 2020): yes if you could try checking out an earlier version then try installing it with cargo , I see 'rayon' is listed in the error stack so you could try version 0.3 before rayon was introduced.
Author
Owner

@wdecoster commented on GitHub (Jan 21, 2020):

cargo install du-dust --version 0.3.0 also returns errors:

  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error: could not compile `syn`.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1

etc

<!-- gh-comment-id:576561964 --> @wdecoster commented on GitHub (Jan 21, 2020): `cargo install du-dust --version 0.3.0` also returns errors: ``` = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `libc`. warning: build failed, waiting for other jobs to finish... error: could not compile `syn`. warning: build failed, waiting for other jobs to finish... error: linking with `cc` failed: exit code: 1 ``` etc
Author
Owner

@bootandy commented on GitHub (Jan 22, 2020):

I'm sorry I have no idea. version 0.3 was before I included more exotic libraries so if it didn't work then I'm not sure what to recommend.

try:
sudo apt-get install build-essential

or maybe it is a problem with your 'LD_LIBRARY_PATH'

<!-- gh-comment-id:576908197 --> @bootandy commented on GitHub (Jan 22, 2020): I'm sorry I have no idea. version 0.3 was before I included more exotic libraries so if it didn't work then I'm not sure what to recommend. try: sudo apt-get install build-essential or maybe it is a problem with your 'LD_LIBRARY_PATH'
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#26