-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
Description
Have you read the documentation?
Yes. (Please, read usage.md first if you did not.)
Did you double-check that you installed all dependencies?
Yes. (Please, double check the dependencies if you didn't.)
Which command failed?
cargo build
What was the error message?
Error message
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustctskYvc/symbols.o" "/home/user/workspace/electrs/target/release/deps/electrs-250752673ee44065.electrs.c1479c00-cgu.2.rcgu.o" "-Wl,--as-needed" "-L" "/home/user/workspace/electrs/target/release/deps" "-L" "/home/user/workspace/electrs/target/release/build/secp256k1-sys-8a2ae04305047b7d/out" "-L" "/home/user/workspace/electrs/target/release/build/electrs-librocksdb-sys-24208f03cab9ae05/out" "-L" "/home/user/workspace/electrs/target/release/build/electrs-librocksdb-sys-24208f03cab9ae05/out" "-L" "/home/user/workspace/electrs/target/release/build/zstd-sys-ca8c6179755e1de5/out" "-L" "/home/user/.rustup/toolchains/1.63.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustctskYvc/libelectrs_librocksdb_sys-b179cfd401e87235.rlib" "/tmp/rustctskYvc/libzstd_sys-9c19834f8389d65a.rlib" "/tmp/rustctskYvc/libsecp256k1_sys-49cb8d62e9ff32a8.rlib" "-Wl,--start-group" "-Wl,--end-group" "/home/user/.rustup/toolchains/1.63.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c21be34a5cae8449.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/user/.rustup/toolchains/1.63.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/user/workspace/electrs/target/release/deps/electrs-250752673ee44065" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -lstdc++: No such file or directory
collect2: error: ld returned 1 exit status
System
OS name and version: PopOS 22.04 LTS (Ubuntu based)
rustc version: 1.63.0
cargo version: 1.63.0
Compilation
Linking: static
Cross compilation: no
Target architecture: x86_64
Additional context
N/A