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

undefined: secp256k1.RecoverPubkey #137

Open
ink-web3 opened this issue Aug 25, 2024 · 1 comment · May be fixed by #135
Open

undefined: secp256k1.RecoverPubkey #137

ink-web3 opened this issue Aug 25, 2024 · 1 comment · May be fixed by #135

Comments

@ink-web3
Copy link

when i use macbook pro to build golang product

scripts:
`#!/bin/bash

export CGO_ENABLED=0
export GOARCH=amd64
export GOOS=linux
go build -ldflags "-w -s" -o main main.go`

i got this error msg:
github.com/fbsobreira/gotron-sdk/pkg/keystore
vendor/github.com/fbsobreira/gotron-sdk/pkg/keystore/recover.go:17:33: undefined: secp256k1.RecoverPubkey

how can i do to fix it?

@mazezen
Copy link

mazezen commented Sep 18, 2024

I also encountered the same problem

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -o app  

failed message

# github.com/fbsobreira/gotron-sdk/pkg/keystore
../../gopath/pkg/mod/github.com/fbsobreira/[email protected]/pkg/keystore/recover.go:17:33: undefined: secp256k1.RecoverPubkey

@RelicOfTesla RelicOfTesla linked a pull request Oct 19, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants