user5299: I am following the steps as described in the repository, using VSCode and Docker.
https://github.com/input-output-hk/plutus-starter
All the dependencies looks good, but it failed on building the cardano-node.
Failed to build exe:cardano-node from cardano-node-1.30.0.
Build log (
/Users/rogeriodeleonpereira/.cabal/logs/ghc-8.10.7/crdn-nd-1.30.0-7743fe52.log
):
Configuring executable 'cardano-node' for cardano-node-1.30.0..
Preprocessing executable 'cardano-node' for cardano-node-1.30.0..
Building executable 'cardano-node' for cardano-node-1.30.0..
[1 of 2] Compiling Paths_cardano_node ( dist/build/cardano-node/autogen/Paths_cardano_node.hs, dist/build/cardano-node/cardano-node-tmp/Paths_cardano_node.o )
[2 of 2] Compiling Main             ( app/cardano-node.hs, dist/build/cardano-node/cardano-node-tmp/Main.o )
Linking dist/build/cardano-node/cardano-node ...
Undefined symbols for architecture x86_64:
  "_crypto_vrf_proof_to_hash", referenced from:
      _Lcjn0_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_prove", referenced from:
      _LcjgN_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_verify", referenced from:
      _LciZz_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_secretkeybytes", referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_signKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _LcjD1_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_keypair_from_seed", referenced from:
      _Lcj9q_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_sk_to_pk", referenced from:
      _Lcj6R_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_publickeybytes", referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_verKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _Lcjrs_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_proofbytes", referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_certSizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_outputbytes", referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRFzuzdcsizzeOutputVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_vrfKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_verify1_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  "_crypto_vrf_seedbytes", referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRFzuzdcseedSizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF4_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF5_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF2_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _LshDn_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Failed to build exe:cardano-cli from cardano-cli-1.30.0 (which is
required by exe:plutus-starter-pab from plutus-starter-0.1.0.0). See the build
log above for details.
Failed to build exe:cardano-node from cardano-node-1.30.0 (which is required
by exe:plutus-starter-pab from plutus-starter-0.1.0.0). See the build log
above for details.


user6044: These missing symbols _crypto_vrf_* are in libsoidum-vrf library. You seem to be linking the cardano-node against your systems provided libsodium. That sadly doesn't work as the official libsodium does not have the vrf extension.

5299: <p>I am following the steps as described in the repository, using VSCode and Docker.</p>
<p><a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-starter</a></p>
<p>All the dependencies looks good, but it failed on building the cardano-node.</p>
<pre><code>Failed to build exe:cardano-node from cardano-node-1.30.0.
Build log (
/Users/rogeriodeleonpereira/.cabal/logs/ghc-8.10.7/crdn-nd-1.30.0-7743fe52.log
):
Configuring executable 'cardano-node' for cardano-node-1.30.0..
Preprocessing executable 'cardano-node' for cardano-node-1.30.0..
Building executable 'cardano-node' for cardano-node-1.30.0..
[1 of 2] Compiling Paths_cardano_node ( dist/build/cardano-node/autogen/Paths_cardano_node.hs, dist/build/cardano-node/cardano-node-tmp/Paths_cardano_node.o )
[2 of 2] Compiling Main             ( app/cardano-node.hs, dist/build/cardano-node/cardano-node-tmp/Main.o )
Linking dist/build/cardano-node/cardano-node ...
Undefined symbols for architecture x86_64:
  &quot;_crypto_vrf_proof_to_hash&quot;, referenced from:
      _Lcjn0_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_prove&quot;, referenced from:
      _LcjgN_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_verify&quot;, referenced from:
      _LciZz_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_secretkeybytes&quot;, referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_signKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _LcjD1_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_keypair_from_seed&quot;, referenced from:
      _Lcj9q_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_sk_to_pk&quot;, referenced from:
      _Lcj6R_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_publickeybytes&quot;, referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_verKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _Lcjrs_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_proofbytes&quot;, referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_certSizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_outputbytes&quot;, referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRFzuzdcsizzeOutputVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_vrfKeySizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_verify1_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
  &quot;_crypto_vrf_seedbytes&quot;, referenced from:
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRFzuzdcseedSizzeVRF_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF4_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF5_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _crdnzmcryptzmprszm2zi0zi0zmac404e8e_CardanoziCryptoziVRFziPraos_zdfVRFAlgorithmPraosVRF2_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
      _LshDn_info in libHScrdn-crypt-prs-2.0.0-ac404e8e.a(Praos.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Failed to build exe:cardano-cli from cardano-cli-1.30.0 (which is
required by exe:plutus-starter-pab from plutus-starter-0.1.0.0). See the build
log above for details.
Failed to build exe:cardano-node from cardano-node-1.30.0 (which is required
by exe:plutus-starter-pab from plutus-starter-0.1.0.0). See the build log
above for details.
</code></pre>
 6044: <p>These missing symbols <code>_crypto_vrf_*</code> are in <a href="https://github.com/input-output-hk/libsodium" rel="nofollow noreferrer">libsoidum-vrf</a> library. You seem to be linking the <code>cardano-node</code> against your systems provided <code>libsodium</code>. That sadly doesn't work as the official <code>libsodium</code> does not have the <code>vrf</code> extension.</p>
