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

make install fails #50

Closed
gabkov opened this issue Dec 22, 2023 · 1 comment
Closed

make install fails #50

gabkov opened this issue Dec 22, 2023 · 1 comment

Comments

@gabkov
Copy link

gabkov commented Dec 22, 2023

Hi,

I was trying to follow this tutorial but the make install step fails with the following error and no binaries being generated:

core git:(master) make install
go install -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=kujira -X github.com/cosmos/cosmos-sdk/version.ServerName=kujirad -X github.com/cosmos/cosmos-sdk/version.Version=0.9.1-1-g5549501 -X github.com/cosmos/cosmos-sdk/version.Commit=554950147825e94fa52c3ff0a3b138568cf7c774 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"' ./cmd/kujirad
# github.com/Team-Kujira/core/cmd/kujirad
ld: warning: '/private/var/folders/nh/78bdkps97rv6pdws74j1xy0w0000gn/T/go-link-1563688512/go.o' has malformed LC_DYSYMTAB, expected 133 undefined symbols to start at index 108006, found 251 undefined symbols starting at index 135

macOS: 14.2.1
go version: go1.20.6 darwin/arm64

Based on #61229 I suspect it has to do something with the apple linker. Any suggestion appreciated.

@codehans
Copy link
Contributor

Hi,

I was trying to follow this tutorial but the make install step fails with the following error and no binaries being generated:

➜  core git:(master) make install
go install -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=kujira -X github.com/cosmos/cosmos-sdk/version.ServerName=kujirad -X github.com/cosmos/cosmos-sdk/version.Version=0.9.1-1-g5549501 -X github.com/cosmos/cosmos-sdk/version.Commit=554950147825e94fa52c3ff0a3b138568cf7c774 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"' ./cmd/kujirad
# github.com/Team-Kujira/core/cmd/kujirad
ld: warning: '/private/var/folders/nh/78bdkps97rv6pdws74j1xy0w0000gn/T/go-link-1563688512/go.o' has malformed LC_DYSYMTAB, expected 133 undefined symbols to start at index 108006, found 251 undefined symbols starting at index 135

macOS: 14.2.1 go version: go1.20.6 darwin/arm64

Based on #61229 I suspect it has to do something with the apple linker. Any suggestion appreciated.

This looks Xcode related golang/go#61558

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

2 participants