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: gomobile bind cannot build sqlite package #10584

Closed
crawshaw opened this issue Apr 27, 2015 · 2 comments
Closed

x/mobile: gomobile bind cannot build sqlite package #10584

crawshaw opened this issue Apr 27, 2015 · 2 comments
Milestone

Comments

@crawshaw
Copy link
Member

From Matt Hawkins via golang-nuts:

$ gomobile bind
# github.com/mattn/go-sqlite3
/Users/mhawkins/Library/go/pkg/gomobile/android-ndk-r10d/arm/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
gomobile: exit status 2
@crawshaw crawshaw self-assigned this Apr 27, 2015
@crawshaw crawshaw added this to the Go1.5 milestone Apr 27, 2015
@hyangah
Copy link
Contributor

hyangah commented Apr 27, 2015

fyi. on android, -lpthread is not necessary and linked automatically. http://mobilepearls.com/labs/native-android-api/ndk/docs/STABLE-APIS.html

@minux
Copy link
Member

minux commented Apr 27, 2015

The lpthread comes from go-sqlite3:

mattn/go-sqlite3@3080677

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

No branches or pull requests

4 participants