Skip to content

Instantly share code, notes, and snippets.

@ozten
Last active December 18, 2015 20:59
Show Gist options
  • Save ozten/5844045 to your computer and use it in GitHub Desktop.
Save ozten/5844045 to your computer and use it in GitHub Desktop.
build_error
# Mac 10.7.5
# Installed go1.1.1.darwin-386.pkg from https://code.google.com/p/go/downloads/list
go run make.go
camlistore.org/pkg/rollsum
camlistore.org/pkg/fileembed/genfileembed
2013/06/22 23:28:48 Updating /Users/shout/Projects/camlistore/tmp/build-gopath/src/camlistore.org/server/camlistored/ui/zembed_base64.js.go (package ui)
2013/06/22 23:28:48 Updating /Users/shout/Projects/camlistore/tmp/build-gopath/src/camlistore.org/server/camlistored/ui/zembed_blob_item.css.go (package ui)
2013/06/22 23:28:48 Updating /Users/shout/Projects/camlistore/tmp/build-gopath/src/camlistore.org/server/camlistored/ui/zembed_blob_item.js.go (package ui)
...
camlistore.org/pkg/osutil
camlistore.org/pkg/buildinfo
camlistore.org/pkg/errorutil
...
camlistore.org/pkg/server
camlistore.org/pkg/serverconfig
# camlistore.org/third_party/github.com/mattn/go-sqlite3
ld: warning: ignoring file /usr/local/Cellar/sqlite/3.7.13/lib/libsqlite3.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/Cellar/sqlite/3.7.13/lib/libsqlite3.dylib
Undefined symbols for architecture i386:
"_sqlite3_bind_blob", referenced from:
__cgo_435dae211550_Cfunc__sqlite3_bind_blob in sqlite3.cgo2.o
(maybe you meant: __cgo_435dae211550_Cfunc__sqlite3_bind_blob)
"_sqlite3_bind_double", referenced from:
__cgo_435dae211550_Cfunc_sqlite3_bind_double in sqlite3.cgo2.o
(maybe you meant: __cgo_435dae211550_Cfunc_sqlite3_bind_double)
...
"_sqlite3_step", referenced from:
__cgo_435dae211550_Cfunc_sqlite3_step in sqlite3.cgo2.o
(maybe you meant: __cgo_435dae211550_Cfunc_sqlite3_step)
"_sqlite3_threadsafe", referenced from:
__cgo_435dae211550_Cfunc_sqlite3_threadsafe in sqlite3.cgo2.o
(maybe you meant: __cgo_435dae211550_Cfunc_sqlite3_threadsafe)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
camlistore.org/pkg/fs
camlistore.org/cmd/cammount
Error building: exit status 2
exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment