Home > Blockchain >  Help: MAC encountered problems in learning the etheric fang source code ld: symbol (s) not found for
Help: MAC encountered problems in learning the etheric fang source code ld: symbol (s) not found for

Time:09-24

I use a MAC terminal, will first through the git clone https://github.com/ethereum/go-ethereum.git distal etheric download code, then press the online tutorials by prompt, enter the go - ethereum folder, run make geth command, the following problems:

ld: warning: ld: warning: ignoring file/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64):/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbdignoring file/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64):/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd

Undefined symbols for architecture x86_64:
"___stack_chk_fail", referenced from:
_x_cgo_init in _x004. O
__cgo_sys_thread_start in _x004. O
"___stack_chk_guard", referenced from:
_x_cgo_init in _x004. O
__cgo_sys_thread_start in _x004. O
"___stderrp", referenced from:
__cgo_sys_thread_start in _x004. O
_x_cgo_sys_thread_create in _x005. O
_x_cgo_thread_start in _x008. O
"_abort", referenced from:
__cgo_sys_thread_start in _x004. O
_x_cgo_sys_thread_create in _x005. O
_x_cgo_thread_start in _x008. O
"_fprintf", referenced from:
__cgo_sys_thread_start in _x004. O
_x_cgo_sys_thread_create in _x005. O
"_free", referenced from:
_threadentry in _x004. O
"_fwrite", referenced from:
_x_cgo_thread_start in _x008. O
"_malloc", referenced from:
_x_cgo_thread_start in _x008. O
"_nanosleep", referenced from:
_x_cgo_sys_thread_create in _x005. O
__cgo_try_pthread_create in _x005. O
"_pthread_attr_destroy", referenced from:
_x_cgo_init in _x004. O
"_pthread_attr_getstacksize", referenced from:
_x_cgo_init in _x004. O
__cgo_sys_thread_start in _x004. O
"_pthread_attr_init", referenced from:
_x_cgo_init in _x004. O
__cgo_sys_thread_start in _x004. O
"_pthread_cond_broadcast", referenced from:
_x_cgo_notify_runtime_init_done in _x005. O
"_pthread_cond_wait", referenced from:
__cgo_wait_runtime_init_done in _x005. O
"_pthread_create", referenced from:
_x_cgo_sys_thread_create in _x005. O
__cgo_try_pthread_create in _x005. O
(maybe you meant: __cgo_try_pthread_create)
"_pthread_detach", referenced from:
_x_cgo_sys_thread_create in _x005. O
__cgo_try_pthread_create in _x005. O
"_pthread_mutex_lock", referenced from:
__cgo_wait_runtime_init_done in _x005. O
_x_cgo_notify_runtime_init_done in _x005. O
_x_cgo_set_context_function in _x005. O
__cgo_get_context_function in _x005. O
"_pthread_mutex_unlock", referenced from:
__cgo_wait_runtime_init_done in _x005. O
_x_cgo_notify_runtime_init_done in _x005. O
_x_cgo_set_context_function in _x005. O
__cgo_get_context_function in _x005. O
"_pthread_sigmask", referenced from:
__cgo_sys_thread_start in _x004. O
"_setenv", referenced from:
_x_cgo_setenv in _x006. O
(maybe you meant: _x_cgo_setenv)
"_strerror", referenced from:
__cgo_sys_thread_start in _x004. O
_x_cgo_sys_thread_create in _x005. O
"_unsetenv", referenced from:
_x_cgo_unsetenv in _x006. O
(maybe you meant: _x_cgo_unsetenv)
Ld: symbol (s) not found for architecture x86_64
Clang - 4.0: error: would the command failed with exit code 1 (use the -v to see invocation)
Make: * * */Makefile: 15: geth Error 2

Help you a great god, and this is where I wrong
  • Related