google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.8k stars 354 forks source link

MacOS 13.0.1 build: symbol not found in flat namespace '_CFRelease' #114

Open psommerfeld opened 1 year ago

psommerfeld commented 1 year ago

Compiling on Mac M1 Ventura 13.0.1. Clean install and built ok, but this gives error:

% bazel-bin/lyra/cli_example/encoder_main --input_path=lyra/testdata/sample1_16kHz.wav --output_dir=$HOME/temp --bitrate=3200
dyld[55150]: symbol not found in flat namespace '_CFRelease'
zsh: abort      bazel-bin/lyra/cli_example/encoder_main  --output_dir=$HOME/temp 

My build environment was:

% brew install bazelisk
% bazel --version
 bazel 5.3.2
% xcode-select --version
xcode-select version 2396.
% uname; uname -r
Darwin
22.1.0
% % sw_vers
ProductName:        macOS
ProductVersion:     13.0.1
BuildVersion:       22A400
% bazel build -c opt lyra/cli_example:encoder_main

build-output.txt