Skip to content

Commit

Permalink
Update crypto/keys/secp256k1/internal/secp256k1/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Marko <[email protected]>
  • Loading branch information
JulianToledano and tac0turtle authored Nov 3, 2023
1 parent dd11805 commit 432eff3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/keys/secp256k1/internal/secp256k1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

## Duplicate Symbols

If a project makes use of go-ethereum and Cosmos's cgo secp256k1, C linker will fail with duplicated symbols. To avoid
If a project is importing [go-ethereum](https://github.com/ethereum/go-ethereum) and the Cosmos SDK, cgo secp256k1 will only work on linux operating systems due to duplicated symbols. If you are testing on a mac, we recommend using a docker container or something similar.

To avoid duplicate symbol errors `ldflags` must be set to allow for multiple definitions.
this `ldflags` must set to allow multiple definitions. This only works with Linux machines.

#### Gcc
Expand Down

0 comments on commit 432eff3

Please sign in to comment.