user6118: Having trouble building the starter-template: https://github.com/input-output-hk/plutus-starter
$ cabal build
Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-08-13T22:58:51Z).
Resolving dependencies...
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


user1229: Okay, so I tried to replicate your issue (I'm using nix+cabal), but my cabal build works fine (I got some warnings, but everything compiled). Thus, all I can suggest is that you reclone the repo and try again, I've outlined the steps below, but they can be found in the plutus and plutus-starter repo:
Check your /etc/nix/nix.conf and ensure that you've followed the procedure to set up the binary cache, which it looks like you've already done. At the very least perhaps check to ensure that the /etc/nix/nix.conf matches the config found in the Plutus README.
Clone the plutus-starter repo:
git clone git@github.com:input-output-hk/plutus-starter.git

Change directory into it:
cd plutus-starter

Run a Nix Shell (pretty important, nix manages your environment, not just your cached packages):
nix-shell

Update cabal:
cabal update

Try again:
cabal build

If you're still having issues, then it would seem to me that you'll have to manually change the version of cardano-crypto-class that you're using.
If you're still having issues, some more information may be helpful.

6118: <p>Having trouble building the starter-template: <a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-starter</a></p>
<pre><code>$ cabal build
Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-08-13T22:58:51Z).
Resolving dependencies...
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
</code></pre>
 1229: <p>Okay, so I tried to replicate your issue (I'm using nix+cabal), but my <code>cabal build</code> works fine (I got some warnings, but everything compiled). Thus, all I can suggest is that you reclone the repo and try again, I've outlined the steps below, but they can be found in the <a href="https://github.com/input-output-hk/plutus#iohk-binary-cache" rel="nofollow noreferrer">plutus</a> and <a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">plutus-starter</a> repo:</p>
<p>Check your /etc/nix/nix.conf and ensure that you've followed the procedure to set up the binary cache, which it looks like you've already done. At the very least perhaps check to ensure that the /etc/nix/nix.conf matches the config found in the <a href="https://github.com/input-output-hk/plutus#iohk-binary-cache" rel="nofollow noreferrer">Plutus README</a>.</p>
<p>Clone the <a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">plutus-starter</a> repo:</p>
<pre><code>git clone git@github.com:input-output-hk/plutus-starter.git
</code></pre>
<p>Change directory into it:</p>
<pre><code>cd plutus-starter
</code></pre>
<p>Run a <a href="https://nixos.org/" rel="nofollow noreferrer">Nix</a> Shell (pretty important, nix manages your environment, not just your cached packages):</p>
<pre><code>nix-shell
</code></pre>
<p>Update cabal:</p>
<pre><code>cabal update
</code></pre>
<p>Try again:</p>
<pre><code>cabal build
</code></pre>
<p>If you're still having issues, then it would seem to me that you'll have to manually change the version of <code>cardano-crypto-class</code> that you're using.</p>
<p>If you're still having issues, some more information may be helpful.</p>
