Deploy Libra in Debian 9. Error:Linking with `cc` failed: exit code: 1

Hi,
I try to deploy Libra in Debian 9. but I have encountered some problems.
I followed the steps on the https://developers.libra.org/

  1. Clone Libra:
  2. Install Dependencies:
    ./scripts/dev_setup.sh
  3. Run the CLI:
    ./scripts/cli/start_cli_testnet.sh
    But the compile error occurred in step 3.

error logs:
Rust-compile-error

Any help!
Thank you.

Googling the error message brought up this: https://stackoverflow.com/questions/5682854/why-is-the-linker-terminating-on-me-when-i-build-clang

It looks like you might be running out of memory.

1 Like

Cool! :laughing:
I deployed Libra in another server successfully.
It seems that the server needs at least 2 G of available memory.
Thank you!