google / visqol

Perceptual Quality Estimator for speech and audio
Apache License 2.0
641 stars 118 forks source link

symbol not found in flat namespace on MacOS #76

Open XiaoyuBIE1994 opened 1 year ago

XiaoyuBIE1994 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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