Open andrewtoth opened 4 days ago
Tried to reproduce, but it seems to work with latest Pop OS 22.04 release:
$ wget https://iso.pop-os.org/22.04/amd64/intel/47/pop-os_22.04_amd64_intel_47.iso
$ sha256sum pop-os_22.04_amd64_intel_47.iso
fb50ecb10f9c0171484d394c7f74d63951658c894765b4db0f342133354e6a7b pop-os_22.04_amd64_intel_47.iso
Also works with Rust 1.63 (via rustup):
user@pop-os:~/electrs$ rustc --version
rustc 1.63.0 (4b91a6ea7 2022-08-08)
user@pop-os:~/electrs$ cargo --version
cargo 1.63.0 (fd9c4297c 2022-07-01)
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