8000 Error building "Getting Started" example: rebuild TensorFlow with the appropriate compiler flags · Issue #79 · galeone/tfgo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Error building "Getting Started" example: rebuild TensorFlow with the appropriate compiler flags #79
Open
@natemurthy

Description

@natemurthy

I'm trying to run the example from the "Getting Started" guide (https://github.com/galeone/tfgo#getting-started) on my MacBook, but after installing the prebuilt TensorFlow C library and tfgo, updating my links, and attempting to build and run the example I encounter this error:

2023-01-21 19:01:59.670541: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/lib/libtensorflow.2.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/lib/libtensorflow.2.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

SIGABRT: abort
PC=0x108aef24a m=0 sigcode=0
signal arrived during cgo execution

...

exit status 2

The full output from the compiler is here:
https://gist.github.com/natemurthy/b753830ed54ab47597f44d4b22127174

I'm guessing I'll have to build the TensorFlow C library from scratch. Is that what this implies, are could there be another solution that doesn't involve having to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0