<p>Once solution is to add the following to <code>cabal.project.local</code>:</p>
<pre><code>package cardano-crypto-praos
  flags: -external-libsodium-vrf
</code></pre>
<p>and then rebuild the <code>node</code> executable.</p>
<p>If the file does not already exist, just add at the top level directory of the git checkout, with just the two lines above.</p>

CC BY-SA 4.0
2022-05-05T03:50:42.580Z
How do i do this? do i need to execute this command in terminal?
arunwebber
CC BY-SA 4.0
2022-05-05T04:43:11.330Z
where is this cabal.project.local i am fairly new to haskel
arunwebber
CC BY-SA 4.0
2022-05-15T23:41:20.583Z
The `cabal.project.local` file should be in the top level directory of the Gut checkout. There should already be a `cabal.project` file in the same location.
Erik de Castro Lopo
CC BY-SA 4.0
2022-05-05T03:06:00.493Z
2022-05-05T06:45:45.260Z
2022-05-05T06:45:45.260Z
Erik de Castro Lopo
<p>I am trying to run a cardano node in my local and the command which i am running goes like this.</p>
<pre><code>cardano-node run \
   --topology mainnet-topology.json \
   --database-path db \
   --socket-path db/node.socket \
   --host-addr 127.0.0.1 \
   --port 3001 \
   --config mainnet-config.json
</code></pre>
<p>But it is showing me this error.</p>
<pre><code>cardano-node: symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes
</code></pre>
<p>In at this post it is getting solved but the links on that post is broken.</p>
<p>Does anyone knows how to resolve the same.</p>
<p><a href="https://forum.cardano.org/t/cardano-node-symbol-lookup-error-cardano-node-undefined-symbol-crypto-vrf-publickeybytes/36359" rel="nofollow noreferrer">https://forum.cardano.org/t/cardano-node-symbol-lookup-error-cardano-node-undefined-symbol-crypto-vrf-publickeybytes/36359</a></p>
<p>The cardano installation progress is here.</p>
<pre><code>{
    &quot;era&quot;: &quot;Byron&quot;,
    &quot;syncProgress&quot;: &quot;61.71&quot;,
    &quot;hash&quot;: &quot;21e4ea98fafcb565733debefca7fecf2d2ab901b7ce6587f1ad4f5ca327e93d1&quot;,
    &quot;epoch&quot;: 207,
    &quot;slot&quot;: 4490076,
    &quot;block&quot;: 4487787 }
</code></pre>

<cardano-node>
symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes
# symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes

(Asked by: username_0 on 2022-05-05)

I am trying to run a cardano node in my local and the command which i am running goes like this.

```
cardano-node run \
   --topology mainnet-topology.json \
   --database-path db \
   --socket-path db/node.socket \
   --host-addr 127.0.0.1 \
   --port 3001 \
   --config mainnet-config.json

```

But it is showing me this error.

```
cardano-node: symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes

```

In at this post it is getting solved but the links on that post is broken.

Does anyone knows how to resolve the same.

<https://forum.cardano.org/t/cardano-node-symbol-lookup-error-cardano-node-undefined-symbol-crypto-vrf-publickeybytes/36359>

The cardano installation progress is here.

```
{
    "era": "Byron",
    "syncProgress": "61.71",
    "hash": "21e4ea98fafcb565733debefca7fecf2d2ab901b7ce6587f1ad4f5ca327e93d1",
    "epoch": 207,
    "slot": 4490076,
    "block": 4487787 }

```

**Tags:** cardano-node


---

## 1 answers

### Answer by username_1 on 2022-05-05. Score: 0 | Accepted answer

Once solution is to add the following to `cabal.project.local`:

```
package cardano-crypto-praos
  flags: -external-libsodium-vrf

```

and then rebuild the `node` executable.

If the file does not already exist, just add at the top level directory of the git checkout, with just the two lines above.

> **Comments:**
> **username_0**: How do i do this? do i need to execute this command in terminal?  
> **username_0**: where is this cabal.project.local i am fairly new to haskel  
> **username_1**: The `cabal.project.local` file should be in the top level directory of the Gut checkout. There should already be a `cabal.project` file in the same location.  

---

