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

[Bug] Run Aptos local multi-nodes testnet errors #12606

Open
KunPengRen opened this issue Mar 20, 2024 · 0 comments
Open

[Bug] Run Aptos local multi-nodes testnet errors #12606

KunPengRen opened this issue Mar 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KunPengRen
Copy link

Hi, I have built the aptos from source codes successfully. I want to run a local multi-nodes testnet following the https://aptos.dev/guides/running-a-local-multi-node-network.
When I run the command

cargo run -p aptos-forge-cli \
        -- \
        --suite "run_forever" \
        --num-validators 4 test local-swarm

I face the errors below:

= note: ld.lld: error: unable to find library -lpq
          collect2: error: ld returned 1 exit status


error: could not compile `aptos-node` (bin "aptos-node") due to previous error
Error: Failed to build aptos-node: 'cd /aptos/aptos-core && CARGO_TARGET_DIR=/aptos/aptos-core/target cargo build --bin=aptos-node

By the way, if there any tutorials that can help me to run a multi-nodes testnet manually in different machines? No like the above one run in one server.

@KunPengRen KunPengRen added the bug Something isn't working label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant