I was able to build tensorflow from source but now I cannot build a golang app that uses TF lib in mac with M1 processor:
bazel build --config opt //tensorflow/tools/lib_package:libtensorflow -c opt --macos_sdk_version=12.1 --config=opt //tensorflow:libtensorflow.so
sudo cp bazel-bin-tensorflow/libtensorflow* /usr/local/lib/.
make build
mkdir -p dist
# github.com/tensorflow/tensorflow/tensorflow/go
ld: warning: ignoring file /usr/local/lib/libtensorflow.so, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"_TFE_ContextListDevices", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_ContextListDevices in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_ContextListDevices)
"_TFE_ContextOptionsSetAsync", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_ContextOptionsSetAsync in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_ContextOptionsSetAsync)
"_TFE_ContextOptionsSetConfig", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_ContextOptionsSetConfig in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_ContextOptionsSetConfig)
"_TFE_DeleteContext", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_DeleteContext in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_DeleteContextOptions, __cgo_5439f5b57bf2_Cfunc_TFE_DeleteContext )
"_TFE_DeleteContextOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_DeleteContextOptions in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_DeleteContextOptions)
"_TFE_DeleteTensorHandle", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_DeleteTensorHandle in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_DeleteTensorHandle)
"_TFE_NewContext", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_NewContext in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_NewContextOptions, __cgo_5439f5b57bf2_Cfunc_TFE_NewContext )
"_TFE_NewContextOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_NewContextOptions in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_NewContextOptions)
"_TFE_NewTensorHandle", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_NewTensorHandle in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_NewTensorHandle)
"_TFE_TensorHandleCopyToDevice", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleCopyToDevice in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleCopyToDevice)
"_TFE_TensorHandleDataType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDataType in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDataType)
"_TFE_TensorHandleDeviceName", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDeviceName in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDeviceName)
"_TFE_TensorHandleDim", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDim in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleDim)
"_TFE_TensorHandleNumDims", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleNumDims in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleNumDims)
"_TFE_TensorHandleResolve", referenced from:
__cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleResolve in _x012.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TFE_TensorHandleResolve)
"_TF_AddControlInput", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_AddControlInput in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_AddControlInput)
"_TF_AddGradientsWithPrefix", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_AddGradientsWithPrefix in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_AddGradientsWithPrefix)
"_TF_AddInput", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_AddInput in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_AddInputList, __cgo_5439f5b57bf2_Cfunc_TF_AddInput )
"_TF_AddInputList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_AddInputList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_AddInputList)
"_TF_AllocateTensor", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_AllocateTensor in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_AllocateTensor)
"_TF_CloseSession", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_CloseSession in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_CloseSession)
"_TF_DeleteBuffer", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteBuffer in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteBuffer)
"_TF_DeleteDeviceList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteDeviceList in _x003.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteDeviceList)
"_TF_DeleteGraph", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteGraph in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteGraph)
"_TF_DeleteImportGraphDefOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteImportGraphDefOptions in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteImportGraphDefOptions)
"_TF_DeleteLibraryHandle", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteLibraryHandle in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteLibraryHandle)
"_TF_DeletePRunHandle", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeletePRunHandle in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeletePRunHandle)
"_TF_DeleteSession", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteSession in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteSessionOptions, __cgo_5439f5b57bf2_Cfunc_TF_DeleteSession )
"_TF_DeleteSessionOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteSessionOptions in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteSessionOptions)
"_TF_DeleteStatus", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteStatus in _x010.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteStatus)
"_TF_DeleteTensor", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeleteTensor in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeleteTensor)
"_TF_DeviceListCount", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeviceListCount in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeviceListCount)
"_TF_DeviceListMemoryBytes", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeviceListMemoryBytes in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeviceListMemoryBytes)
"_TF_DeviceListName", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeviceListName in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeviceListName)
"_TF_DeviceListType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_DeviceListType in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_DeviceListType)
"_TF_Dim", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_Dim in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_Dim)
"_TF_FinishOperation", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_FinishOperation in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_FinishOperation)
"_TF_GetCode", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GetCode in _x010.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GetCode)
"_TF_GraphGetTensorNumDims", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphGetTensorNumDims in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphGetTensorNumDims)
"_TF_GraphGetTensorShape", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphGetTensorShape in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphGetTensorShape)
"_TF_GraphImportGraphDef", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphImportGraphDef in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphImportGraphDef)
"_TF_GraphNextOperation", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphNextOperation in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphNextOperation)
"_TF_GraphOperationByName", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphOperationByName in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphOperationByName)
"_TF_GraphToGraphDef", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_GraphToGraphDef in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_GraphToGraphDef)
"_TF_ImportGraphDefOptionsAddInputMapping", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsAddInputMapping in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsAddInputMapping)
"_TF_ImportGraphDefOptionsSetDefaultDevice", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsSetDefaultDevice in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsSetDefaultDevice)
"_TF_ImportGraphDefOptionsSetPrefix", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsSetPrefix in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_ImportGraphDefOptionsSetPrefix)
"_TF_LoadLibrary", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_LoadLibrary in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_LoadLibrary)
"_TF_LoadSessionFromSavedModel", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_LoadSessionFromSavedModel in _x007.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_LoadSessionFromSavedModel)
"_TF_Message", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_Message in _x010.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_Message)
"_TF_NewBuffer", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewBuffer in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewBuffer)
"_TF_NewGraph", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewGraph in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewGraph)
"_TF_NewImportGraphDefOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewImportGraphDefOptions in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewImportGraphDefOptions)
"_TF_NewOperation", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewOperation in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewOperation)
"_TF_NewSession", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewSession in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewSession, __cgo_5439f5b57bf2_Cfunc_TF_NewSessionOptions )
"_TF_NewSessionOptions", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewSessionOptions in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewSessionOptions)
"_TF_NewStatus", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NewStatus in _x010.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NewStatus)
"_TF_NumDims", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_NumDims in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_NumDims)
"_TF_OperationDevice", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationDevice in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationDevice)
"_TF_OperationGetAttrBool", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrBool in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrBoolList, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrBool )
"_TF_OperationGetAttrBoolList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrBoolList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrBoolList)
"_TF_OperationGetAttrFloat", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrFloat in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrFloatList, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrFloat )
"_TF_OperationGetAttrFloatList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrFloatList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrFloatList)
"_TF_OperationGetAttrInt", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrInt in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrIntList, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrInt )
"_TF_OperationGetAttrIntList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrIntList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrIntList)
"_TF_OperationGetAttrMetadata", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrMetadata in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrMetadata)
"_TF_OperationGetAttrShape", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrShape in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrShapeList, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrShape )
"_TF_OperationGetAttrShapeList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrShapeList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrShapeList)
"_TF_OperationGetAttrString", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrString in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrString, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrStringList )
"_TF_OperationGetAttrStringList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrStringList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrStringList)
"_TF_OperationGetAttrTensor", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTensor in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTensorList, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTensor )
"_TF_OperationGetAttrTensorList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTensorList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTensorList)
"_TF_OperationGetAttrType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrType in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrType, __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTypeList )
"_TF_OperationGetAttrTypeList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTypeList in _x002.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationGetAttrTypeList)
"_TF_OperationInput", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationInput in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationInputType, __cgo_5439f5b57bf2_Cfunc_TF_OperationInput )
"_TF_OperationInputType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationInputType in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationInputType)
"_TF_OperationName", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationName in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationName)
"_TF_OperationNumInputs", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationNumInputs in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationNumInputs)
"_TF_OperationNumOutputs", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationNumOutputs in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationNumOutputs)
"_TF_OperationOpType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationOpType in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationOpType)
"_TF_OperationOutputConsumers", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationOutputConsumers in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationOutputConsumers)
"_TF_OperationOutputListLength", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationOutputListLength in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationOutputListLength)
"_TF_OperationOutputNumConsumers", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationOutputNumConsumers in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationOutputNumConsumers)
"_TF_OperationOutputType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_OperationOutputType in _x006.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_OperationOutputType)
"_TF_SessionListDevices", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SessionListDevices in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SessionListDevices)
"_TF_SessionPRun", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SessionPRun in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SessionPRun, __cgo_5439f5b57bf2_Cfunc_TF_SessionPRunSetup )
"_TF_SessionPRunSetup", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SessionPRunSetup in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SessionPRunSetup)
"_TF_SessionRun", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SessionRun in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SessionRun)
"_TF_SetAttrBool", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrBool in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrBoolList, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrBool )
"_TF_SetAttrBoolList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrBoolList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrBoolList)
"_TF_SetAttrFloat", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrFloat in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrFloat, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrFloatList )
"_TF_SetAttrFloatList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrFloatList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrFloatList)
"_TF_SetAttrInt", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrInt in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrInt, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrIntList )
"_TF_SetAttrIntList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrIntList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrIntList)
"_TF_SetAttrShape", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrShape in _x004.o
(maybe you meant: _TF_SetAttrShapeList_Helper, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList_Helper , __cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList , __cgo_5439f5b57bf2_Cfunc_TF_SetAttrShape )
"_TF_SetAttrShapeList", referenced from:
_TF_SetAttrShapeList_Helper in _x004.o
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList in _x004.o
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList_Helper in _x004.o
(maybe you meant: _TF_SetAttrShapeList_Helper, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList_Helper , __cgo_5439f5b57bf2_Cfunc_TF_SetAttrShapeList )
"_TF_SetAttrString", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrString in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrStringList, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrString )
"_TF_SetAttrStringList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrStringList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrStringList)
"_TF_SetAttrTensor", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrTensor in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrTensor, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrTensorList )
"_TF_SetAttrTensorList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrTensorList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrTensorList)
"_TF_SetAttrType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrType in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrTypeList, __cgo_5439f5b57bf2_Cfunc_TF_SetAttrType )
"_TF_SetAttrTypeList", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetAttrTypeList in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetAttrTypeList)
"_TF_SetConfig", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetConfig in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetConfig)
"_TF_SetDevice", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetDevice in _x004.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetDevice)
"_TF_SetTarget", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_SetTarget in _x008.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_SetTarget)
"_TF_TensorBitcastFrom", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_TensorBitcastFrom in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_TensorBitcastFrom)
"_TF_TensorByteSize", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_TensorByteSize in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_TensorByteSize)
"_TF_TensorData", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_TensorData in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_TensorData)
"_TF_TensorType", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_TensorType in _x011.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_TensorType)
"_TF_Version", referenced from:
__cgo_5439f5b57bf2_Cfunc_TF_Version in _x013.o
(maybe you meant: __cgo_5439f5b57bf2_Cfunc_TF_Version)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build/binaries] Error 2
It's complaining cause the .so generated file is not for x86_64