Subject: Cardano node build error on Linux

Hi all,

I’m trying to build a Cardano node on my Linux machine using the instructions in the following guides:

I’m using the command cabal build cardano-node cardano-cli, but I’m getting the following error message:

Warning: Requested index-state 2022-10-25T20:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2022-10-25T17:33:07Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-api-1.35.4 (user goal)
[__1] next goal: cardano-crypto-class (dependency of cardano-api)
[__1] rejecting: cardano-crypto-class-2.0.0.1 (constraint from project config
/home/cardano1234/git/cardano-node/cabal.project requires ==2.0.0.0.1)
[__1] trying: cardano-crypto-class-2.0.0.0.1
[__2] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config
package libsecp256k1-any, not found in the pkg-config database)
[__2] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only
be changed explicitly)
[__2] fail (backjumping, conflict set: cardano-crypto-class,
cardano-crypto-class:secp256k1-support)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, cardano-crypto-class,
cardano-crypto-class:secp256k1-support

Despite this warning, the node is not being built.
Has anyone encountered this issue before and found a solution?
I’ve probably forget something, but as a beginner can’t figure out what :frowning:

Thanks in advance, Bert

Hi,

If ur OS is ubuntu u can try my guide or coincashew guide

Cheers,

1 Like

Hi Alex,

Are you referring to this guide?

I managed to start building the node with above guide, but ran into another problem.
I’ve created a new topic for this:

Regards,
Bert

Well there are more guides

Mine which is most usefull for beginers; it has also cntools included which will help with transactions…
Or cojncashew guide where u will need to create, sign and submit transactions manually

Or coincashew guide

1 Like