symbol not found in flat namespace on MacOS
XiaoyuBIE1994 opened this issue · 2 comments
I got an error like
dyld[2485]: symbol not found in flat namespace (_CFRelease)
zsh: abort ./bazel-bin/visqol --reference_file XXXXX
when I tried to run ./bazel-bin/visqol
on MacOS
Any solutions for this problem?
PS: I install bazel from bazelisk with brew install bazelisk
, which gives me a bazel version 5.3.0. would that be a trouble? If yes, how I could use bazel with the version 5.1.0 as indicated in the README file?
Thanks so much in advance
Sorry for the delayed response, and for the difficulty building. I'm able to build and run with bazel 5.3 on mac. The issue looks like CoreFoundation is not being linked, or being linked incorrectly. There are some hits if you search for the error message, but it's not clear what to do. Do you have any special environment variables or compiler/linker setup?
same here for me. did someone solve that issue? I am running bazel 5.3.2 on an ARM base Mac the build process itself runs without any issues but running the visqol
binary gives me also that error