# Fresh build of 1.14.1 causes Could not resolve dependencies exception

**URL:** <https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023>\
**Category:** Operate a Stake Pool\
**Tags:** haskell, cardano-node\
**Created:** [28 June 2020 10:50 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023 "2020-06-28T10:50:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![sionsmith](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sionsmith/32/19365_2.png) [@sionsmith](https://forum.cardano.org/u/sionsmith)\
**Post date:** [28 June 2020 10:50 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/1 "2020-06-28T10:50:17Z")

</div>

Hi all,

first of all i’m super excited to get my first stake pool up and running however I have run into an issue even before I can get the binaries compiled. On a clean install of 1.14.1 I get ‘Could not resolve dependencies exception’

```
[root@ip-10-20-1-115 cardano-node]# cabal install cardano-node cardano-cli -- installdir="$HOME/.local/bin"
cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-crypto-class

```

Switching back to the 1.13.0 or the 1.13.0-rewards everything works fine - I am missing something here or anyone else faced this issue?

---

<div class="post-metadata">

**Author:** ![Trigger](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/trigger/32/18242_2.png) [@Trigger](https://forum.cardano.org/u/Trigger)\
**Post date:** [28 June 2020 11:45 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/2 "2020-06-28T11:45:03Z")

</div>

Welcome @sionsmith to the community, it’s good to have you here, I’m sure someone will come along soon to help with your tech issue, again Welcome 🖖

---

<div class="post-metadata">

**Author:** ![rdlrt](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/rdlrt/32/9098_2.png) [@rdlrt](https://forum.cardano.org/u/rdlrt)\
**Post date:** [28 June 2020 12:02 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/3 "2020-06-28T12:02:09Z")

</div>

Hi There  
Please checkout the updated dependency guide [here](https://github.com/input-output-hk/cardano-node/blob/master/README.md#dependencies)

edit : New working link [Installing the node from source — cardano-node Documentation 1.0.0 documentation](https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/install.html#installation-dependencies)

---

<div class="post-metadata">

**Author:** ![sionsmith](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sionsmith/32/19365_2.png) [@sionsmith](https://forum.cardano.org/u/sionsmith)\
**Post date:** [29 June 2020 13:12 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/4 "2020-06-29T13:12:29Z")

</div>

I have updated a PR to update the documentation for building the latest 1.14.x version of the code: [https://github.com/input-output-hk/cardano-tutorials/pull/221](https://github.com/input-output-hk/cardano-tutorials/pull/221) please can someone review and merge.

---

<div class="post-metadata">

**Author:** ![rdlrt](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/rdlrt/32/9098_2.png) [@rdlrt](https://forum.cardano.org/u/rdlrt)\
**Post date:** [29 June 2020 14:18 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/5 "2020-06-29T14:18:19Z")

</div>

It is considered invalid because the method used by install.md should not depend/use system libsodium, which is IOHK’s lesser of two approaches they recommend in the mentioned guide above.

---

<div class="post-metadata">

**Author:** ![sionsmith](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sionsmith/32/19365_2.png) [@sionsmith](https://forum.cardano.org/u/sionsmith)\
**Post date:** [29 June 2020 14:43 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/6 "2020-06-29T14:43:58Z")

</div>

Frankly both methods and build process is ridiculous! You do not need install GB’s of static binaries to compile something which could be a self contained binary and copied to target hosts / containers.

Can you please explain to me: `Which requires a special fork of libsodium with the VRF code to be installed on the system` which fork of libsodium should I use?

A much more suitable approach to building these binaries can be found here: [https://github.com/cardanobay/cardano-builder](https://github.com/cardanobay/cardano-builder)

---

<div class="post-metadata">

**Author:** ![rdlrt](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/rdlrt/32/9098_2.png) [@rdlrt](https://forum.cardano.org/u/rdlrt)\
**Post date:** [29 June 2020 21:52 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/7 "2020-06-29T21:52:08Z")

</div>

Do not trust third-party prebuilt binaries. Especially ones who advertise themselves as cardano-builder and behind the scenes are just providing prebuilt binaries.

The same entity was also responsible for raiding funds from faucet unethically before - thus, raising even more questions (in my view).

There will be prebuilt binaries with checksum from IOHK when they’re closer to releases, and there are hydra jobs from CI if you really want them.

The details regarding fork of libsodium are in [readme](https://github.com/input-output-hk/cardano-node/blob/master/README.md#dependencies) of the repository.

---

<div class="post-metadata">

**Author:** ![Ian\_Noble](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ian_noble/32/19524_2.png) [@Ian\_Noble](https://forum.cardano.org/u/Ian_Noble)\
**Post date:** [4 July 2020 03:34 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/8 "2020-07-04T03:34:29Z")

</div>

So what’s the fix for this? I tried installing libsodium & libsodium-dev but it came back with:

“No package… available” for both

---

<div class="post-metadata">

**Author:** ![Trigger](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/trigger/32/18242_2.png) [@Trigger](https://forum.cardano.org/u/Trigger)\
**Post date:** [4 July 2020 05:02 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/9 "2020-07-04T05:02:54Z")

</div>

Welcome Ian (@Ian_Noble) to the community, great to have you here.

---

<div class="post-metadata">

**Author:** ![sionsmith](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sionsmith/32/19365_2.png) [@sionsmith](https://forum.cardano.org/u/sionsmith)\
**Post date:** [5 July 2020 13:37 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/10 "2020-07-05T13:37:56Z")

</div>

@rdlrt I am using Packer and Ansibe to build and configure my AMI from source. I have pushed the role here:  
[https://github.com/osodevops/ansible-role-cardano-node](https://github.com/osodevops/ansible-role-cardano-node)

---

<div class="post-metadata">

**Author:** ![wileycybrotie](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/wileycybrotie/32/20004_2.png) [@wileycybrotie](https://forum.cardano.org/u/wileycybrotie)\
**Post date:** [21 July 2020 16:15 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/11 "2020-07-21T16:15:18Z")

</div>

Thank you for this, I am new to cardano and was about to completely lose interest due in part to how much of a mess the tutorials are.

---

<div class="post-metadata">

**Author:** ![samsonite](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/samsonite/32/36489_2.png) [@samsonite](https://forum.cardano.org/u/samsonite)\
**Post date:** [24 May 2021 08:08 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/12 "2021-05-24T08:08:00Z")

</div>

I have resolved the same error by building and installing Libsodium from source as recommended.

The link given above by rdirt appears dead; here is the one I used (from “Installing Libsodium”) : [Building a node from source – IOHK Support](https://iohk.zendesk.com/hc/en-us/articles/900001951646-Building-a-node-from-source)

---

<div class="post-metadata">

**Author:** ![sionsmith](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sionsmith/32/19365_2.png) [@sionsmith](https://forum.cardano.org/u/sionsmith)\
**Post date:** [24 May 2021 08:29 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/13 "2021-05-24T08:29:16Z")

</div>

Ok cool, please raise any issues or added functionality to the Ansible playbooks.

---

<div class="post-metadata">

**Author:** ![samsonite](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/samsonite/32/36489_2.png) [@samsonite](https://forum.cardano.org/u/samsonite)\
**Post date:** [24 May 2021 19:19 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/14 "2021-05-24T19:19:06Z")

</div>

I think your project already includes the libsodium install if I am reading it correctly. I would love to contribute if I can, but I don’t really know enough about Ansible to do so. I just wanted to add the raw steps for other developers who may find this thread. FWIW I’m just doing this install to learn to build with Plutus – I am certain that pool operators will prefer to have automation handling this as you’ve laid out.

---

<div class="post-metadata">

**Author:** ![34r7h](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/34r7h/32/32369_2.png) [@34r7h](https://forum.cardano.org/u/34r7h)\
**Post date:** [4 June 2021 12:25 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/15 "2021-06-04T12:25:40Z")

</div>

a pointless post so moderators can share pointless time lost due to shite engineering decisions and terrible implimentation instructions. might as well be ethereum

---

<div class="post-metadata">

**Author:** ![walkdontrun](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/walkdontrun/32/39388_2.png) [@walkdontrun](https://forum.cardano.org/u/walkdontrun)\
**Post date:** [29 August 2021 06:31 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/16 "2021-08-29T06:31:52Z")

</div>

Is there a solution for this? The link posted in response is giving a 404 error and I’m having the exact same issue as the OP.

---

<div class="post-metadata">

**Author:** ![sss\_sss](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sss_sss/32/84954_2.png) [@sss\_sss](https://forum.cardano.org/u/sss_sss)\
**Post date:** [14 August 2022 20:57 UTC](https://forum.cardano.org/t/fresh-build-of-1-14-1-causes-could-not-resolve-dependencies-exception/35023/17 "2022-08-14T20:57:20Z")

</div>

It’s a nightmare
