Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling failed on Ubuntu ARM64 #141

Open
apiscerena opened this issue Aug 4, 2022 · 1 comment
Open

compiling failed on Ubuntu ARM64 #141

apiscerena opened this issue Aug 4, 2022 · 1 comment

Comments

@apiscerena
Copy link

I'm trying to compile a debug version of the contracts-node on Ubuntu ARM64, but got the following error.

Compiling contracts-node v0.17.0 (/home/parallels/Desktop/substrate-contracts-node/node)
error: linking with cc failed: exit status: 1
....

= note: collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.

@TomaszWaszczyk
Copy link

TomaszWaszczyk commented Oct 9, 2022

I am not sure why following command: cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --force --locked did not allow me to compile successfully on my machine, but following setups allows me to compile the repository:

  1. clone substrate-contracts-node repository
  2. execute cargo build --locked

On Debian machine works. Let me know if you have some issues with logs, please. Remember also to install all Substrate/Polkadot prerequisites before trying to compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants