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

duplicate symbols for architecture x86_64 #207

Open
MikyChow opened this issue Mar 6, 2023 · 1 comment
Open

duplicate symbols for architecture x86_64 #207

MikyChow opened this issue Mar 6, 2023 · 1 comment

Comments

@MikyChow
Copy link

MikyChow commented Mar 6, 2023

Hi Team.
My project is using both ethereum/go-ethereum and OffchainLabs/go-ethereum, When we compile the project below errors show:
duplicate symbol '_secp256k1_ec_pubkey_tweak_add' in:
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000017.o
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000027.o
duplicate symbol '_CURVE_B' in:
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000017.o
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000027.o
duplicate symbol '_secp256k1_nonce_function_rfc6979' in:
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000017.o
/var/folders/vq/2l38vbs56h531j9xgl279kd00000gp/T/go-link-102341829/000027.o
ld: 34 duplicate symbols for architecture x86_64

What should I do now?

@J1a-wei
Copy link

J1a-wei commented Apr 23, 2024

CGO_ENABLED=0
see: golang/go#28704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@MikyChow @J1a-wei and others