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

x/mobile/cmd/gomobile: init failed #16089

Closed
axet opened this issue Jun 17, 2016 · 1 comment
Closed

x/mobile/cmd/gomobile: init failed #16089

axet opened this issue Jun 17, 2016 · 1 comment
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@axet
Copy link

axet commented Jun 17, 2016

Please answer these questions before submitting your issue. Thanks!

Not sure is it just me (macports)?

  1. What version of Go are you using (go version)?
    go version go1.6.2 darwin/amd64
  2. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Users/axet/source/go_workspace/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/axet/source/go_workspace"
GORACE=""
GOROOT="/opt/local/lib/go"
GOTOOLDIR="/opt/local/lib/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="/usr/bin/clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
  1. What did you do?
    gomobile init
  2. What did you see instead?
gomobile: go install -p=8 -gcflags=-shared -ldflags=-shared -pkgdir=/Users/axet/source/go_workspace/pkg/gomobile/pkg_android_amd64 std failed: exit status 2
# runtime/cgo
/Users/axet/encfs/source/go_workspace/pkg/gomobile/android-ndk-r11c/x86_64/bin/../lib/gcc/x86_64-linux-android/4.9/../../../../x86_64-linux-android/bin/ld: error: /Users/axet/encfs/source/go_workspace/pkg/gomobile/android-ndk-r11c/x86_64/bin/../libexec/gcc/x86_64-linux-android/4.9/liblto_plugin.so: could not load plugin library: dlopen(/Users/axet/encfs/source/go_workspace/pkg/gomobile/android-ndk-r11c/x86_64/bin/../libexec/gcc/x86_64-linux-android/4.9/liblto_plugin.so, 2): image not found
collect2: error: ld returned 1 exit status
@quentinmit quentinmit changed the title gomobile init failed x/mobile/cmd/gomobile: init failed Jun 17, 2016
@quentinmit quentinmit added this to the Unreleased milestone Jun 17, 2016
@quentinmit quentinmit added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 17, 2016
@axet
Copy link
Author

axet commented Jun 18, 2016

This caused by encfs. Sorry.

@axet axet closed this as completed Jun 18, 2016
@golang golang locked and limited conversation to collaborators Jun 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants