Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - 'cabal build all' fails on latest master #3844

Closed
dorin100 opened this issue May 7, 2022 · 5 comments
Closed

[BUG] - 'cabal build all' fails on latest master #3844

dorin100 opened this issue May 7, 2022 · 5 comments
Labels
bug Something isn't working documentation status: duplicate The PR or issue already exists type: documentation Improvements or additions to documentation user type: internal Created by an IOG employee

Comments

@dorin100
Copy link

dorin100 commented May 7, 2022

Internal/External
Internal if an IOHK staff member.

Area
Other Build node using Cabal

Summary
Building the node with cabal fails with the bellow error:

cabal: Could not resolve dependencies:
[__0] trying: cardano-crypto-class-2.0.0 (user goal)
[__1] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config
package libsecp256k1-any, not found in the pkg-config database)
[__1] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only
be changed explicitly)
[__1] 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-crypto-class,
cardano-crypto-class:secp256k1-support

Steps to reproduce
Steps to reproduce the behavior:

cd cardano-node
git checkout master
git pull origin master
cabal clean
cabal update
cabal build all

Expected behavior
Following the official instructions/docs, it should be possible to successfully build with cabal.

System info (please complete the following information):

  • OS Name: [e.g. Ubuntu]
  • OS Version [e.g. 20.04]
  • Node version (output of cardano-node --version)
  • CLI version (output of cardano-cli --version)
@dorin100 dorin100 added the bug Something isn't working label May 7, 2022
@nc6
Copy link
Contributor

nc6 commented May 23, 2022

Are you running this inside a nix shell? (Using nix develop?)

@mesudip
Copy link

mesudip commented May 23, 2022

you are required to install this secp251k1 library for the latest version

https://github.com/bitcoin-core/secp256k1

@HenryAeon
Copy link

I received this same error. Libsodium was installed in the wrong folder. Try reinstalling it in the one directory above the cardano code and same user.

@dorin100
Copy link
Author

duplicate on #3846

@rchak007
Copy link

you are required to install this secp251k1 library for the latest version

https://github.com/bitcoin-core/secp256k1

I installed from the link -
https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md
the "Download and install libsecp256k1:" part.
then I was able to proceed further from this issue.

@dorin100 dorin100 added type: documentation Improvements or additions to documentation user type: internal Created by an IOG employee status: duplicate The PR or issue already exists labels Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation status: duplicate The PR or issue already exists type: documentation Improvements or additions to documentation user type: internal Created by an IOG employee
Projects
None yet
Development

No branches or pull requests

5 participants