Skip to content

Instantly share code, notes, and snippets.

@ciaranarcher
Created February 19, 2014 18:41
Show Gist options
  • Save ciaranarcher/9098612 to your computer and use it in GitHub Desktop.
Save ciaranarcher/9098612 to your computer and use it in GitHub Desktop.
Error Compiling
$ go get github.com/alecthomas/gozmq
# github.com/alecthomas/gozmq
ld: warning: ignoring file /usr/local/Cellar/zeromq22/2.2.0/lib/libzmq.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/zeromq22/2.2.0/lib/libzmq.dylib
Undefined symbols for architecture i386:
"_zmq_bind", referenced from:
__cgo_7f64089da901_Cfunc_zmq_bind in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_bind in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_bind, __cgo_7f64089da901_Cfunc_zmq_bind )
"_zmq_close", referenced from:
__cgo_7f64089da901_Cfunc_zmq_close in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_close in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_close, __cgo_7f64089da901_Cfunc_zmq_close )
"_zmq_connect", referenced from:
__cgo_7f64089da901_Cfunc_zmq_connect in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_connect in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_connect, __cgo_7f64089da901_Cfunc_zmq_connect )
"_zmq_device", referenced from:
__cgo_7f64089da901_Cfunc_zmq_device in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_device in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_device, __cgo_7f64089da901_Cfunc_zmq_device )
"_zmq_getsockopt", referenced from:
__cgo_7f64089da901_Cfunc_zmq_getsockopt in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_getsockopt in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_getsockopt, __cgo_7f64089da901_C2func_zmq_getsockopt )
"_zmq_init", referenced from:
__cgo_7f64089da901_Cfunc_zmq_init in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_init in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_init, __cgo_7f64089da901_Cfunc_zmq_init )
"_zmq_msg_close", referenced from:
__cgo_7f64089da901_Cfunc_zmq_msg_close in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_msg_close)
"_zmq_msg_data", referenced from:
__cgo_7f64089da901_Cfunc_zmq_msg_data in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_msg_data)
"_zmq_msg_init", referenced from:
__cgo_7f64089da901_Cfunc_zmq_msg_init in zmq_2_x.cgo2.o
__cgo_7f64089da901_C2func_zmq_msg_init in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_msg_init, __cgo_7f64089da901_Cfunc_zmq_msg_init , __cgo_7f64089da901_Cfunc_zmq_msg_init_size , __cgo_7f64089da901_C2func_zmq_msg_init_size )
"_zmq_msg_init_size", referenced from:
__cgo_7f64089da901_Cfunc_zmq_msg_init_size in zmq_2_x.cgo2.o
__cgo_7f64089da901_C2func_zmq_msg_init_size in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_msg_init_size, __cgo_7f64089da901_C2func_zmq_msg_init_size )
"_zmq_msg_size", referenced from:
__cgo_7f64089da901_Cfunc_zmq_msg_size in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_msg_size)
"_zmq_poll", referenced from:
__cgo_7f64089da901_Cfunc_zmq_poll in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_poll in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_poll, __cgo_7f64089da901_Cfunc_zmq_poll )
"_zmq_recv", referenced from:
__cgo_7f64089da901_Cfunc_zmq_recv in zmq_2_x.cgo2.o
__cgo_7f64089da901_C2func_zmq_recv in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_recv, __cgo_7f64089da901_Cfunc_zmq_recv )
"_zmq_send", referenced from:
__cgo_7f64089da901_Cfunc_zmq_send in zmq_2_x.cgo2.o
__cgo_7f64089da901_C2func_zmq_send in zmq_2_x.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_send, __cgo_7f64089da901_Cfunc_zmq_send )
"_zmq_setsockopt", referenced from:
__cgo_7f64089da901_Cfunc_zmq_setsockopt in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_setsockopt in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_C2func_zmq_setsockopt, __cgo_7f64089da901_Cfunc_zmq_setsockopt )
"_zmq_socket", referenced from:
__cgo_7f64089da901_Cfunc_zmq_socket in zmq.cgo2.o
__cgo_7f64089da901_C2func_zmq_socket in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_socket, __cgo_7f64089da901_C2func_zmq_socket )
"_zmq_strerror", referenced from:
__cgo_7f64089da901_Cfunc_zmq_strerror in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_strerror)
"_zmq_term", referenced from:
__cgo_7f64089da901_Cfunc_zmq_term in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_term)
"_zmq_version", referenced from:
__cgo_7f64089da901_Cfunc_zmq_version in zmq.cgo2.o
(maybe you meant: __cgo_7f64089da901_Cfunc_zmq_version)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment