You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
I have searched existing issues and this is not a duplicate.
Tried to build core-rs from source by cloning from Github. I switched to nightly build with rustup default nightly. As soon as I started building with cargo +nightly build the compiling stopped with the following error: error: linking with `cc` failed: exit code: 1
The README of core-rs states that besides rust nightly you need gcc, pkg-config and libssl-dev, which I installed through apt.
Solution
Install gcc-multilib as well and it started compiling with no issues.
The text was updated successfully, but these errors were encountered:
Weird though, after I apt remove gcc-mutlilib, it's still able to compile now. Guess gcc linker wasn't found and after installing gcc-multilib it was somehow.
@sisou It is a fresh Hetzner server with nodejs installed already. I added rustup and switched to nightly. Then apt install gcc pkg-config libssl-dev
After installation I tried to compile the repo which failed with the error stated above. Then I did an apt install gcc-multilib and was able to compile the project. When it was done I removed the target folder and did apt remove gcc-multilib and was still able to compile.
New issue checklist
README
Tried to build
core-rs
from source by cloning from Github. I switched to nightly build withrustup default nightly
. As soon as I started building withcargo +nightly build
the compiling stopped with the following error:error: linking with `cc` failed: exit code: 1
The README of
core-rs
states that besides rust nightly you need gcc, pkg-config and libssl-dev, which I installed throughapt
.Solution
Install
gcc-multilib
as well and it started compiling with no issues.The text was updated successfully, but these errors were encountered: