Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol not found in flat namespace on MacOS #76

Open
XiaoyuBIE1994 opened this issue Oct 12, 2022 · 2 comments
Open

symbol not found in flat namespace on MacOS #76

XiaoyuBIE1994 opened this issue Oct 12, 2022 · 2 comments

Comments

@XiaoyuBIE1994
Copy link

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

@mchinen
Copy link
Collaborator

mchinen commented Dec 12, 2022

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?

@mku-wedoai
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants