ld: warning: ignoring file mapping_util.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
Undefined symbols for architecture arm64:
"_GetStringUTFChars", referenced from:
cgo_e9b131aefc1b_Cfunc_GetStringUTFChars in _x002.o
(maybe you meant: cgo_e9b131aefc1b_Cfunc_GetStringUTFChars)
"_NewStringUTF", referenced from:
cgo_e9b131aefc1b_Cfunc_NewStringUTF in _x002.o
(maybe you meant: cgo_e9b131aefc1b_Cfunc_NewStringUTF)
"_ThrowNewRuntimeException", referenced from:
cgo_e9b131aefc1b_Cfunc_ThrowNewRuntimeException in _x002.o
(maybe you meant: cgo_e9b131aefc1b_Cfunc_ThrowNewRuntimeException)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Task :buildDeps FAILED
Execution failed for task ':buildDeps'.
Process 'command './build_deps.sh'' finished with non-zero exit value 2
I am unable to build in MacOs Monterey Apple M1 Pro go: upgraded google.golang.org/protobuf v1.26.0 => v1.28.0
github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/wrapping
ld: warning: ignoring file mapping_util.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 Undefined symbols for architecture arm64: "_GetStringUTFChars", referenced from: cgo_e9b131aefc1b_Cfunc_GetStringUTFChars in _x002.o (maybe you meant: cgo_e9b131aefc1b_Cfunc_GetStringUTFChars) "_NewStringUTF", referenced from: cgo_e9b131aefc1b_Cfunc_NewStringUTF in _x002.o (maybe you meant: cgo_e9b131aefc1b_Cfunc_NewStringUTF) "_ThrowNewRuntimeException", referenced from: cgo_e9b131aefc1b_Cfunc_ThrowNewRuntimeException in _x002.o (maybe you meant: cgo_e9b131aefc1b_Cfunc_ThrowNewRuntimeException) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Execution failed for task ':buildDeps'.