"'absl_flags_registry' not found" Building on Debian Bullseye fails
Building on Debian Bullseye fails with ERROR: C++ shared or static library 'absl_flags_registry' not found
.
I assume libabsl-dev is just too old on Debian Bullseye? Maybe we should check for a minimum absl version, or provide an error like "Check if absl version v123456 is installed".
$ meson . build -Dprefix=$PWD/install
The Meson build system
Version: 0.56.2
Source dir: /root/webrtc-audio-processing
Build dir: /root/webrtc-audio-processing/build
Build type: native build
Project name: webrtc-audio-processing-1
Project version: 1.0
C compiler for the host machine: cc (gcc 10.2.1 "cc (Debian 10.2.1-6) 10.2.1 20210110")
C linker for the host machine: cc ld.bfd 2.35.2
C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Debian 10.2.1-6) 10.2.1 20210110")
C++ linker for the host machine: c++ ld.bfd 2.35.2
Host machine cpu family: aarch64
Host machine cpu: aarch64
Library absl_base found: YES
Library absl_bad_optional_access found: YES
Library absl_flags_internal found: YES
Library absl_flags_marshalling found: YES
Library absl_flags_parse found: YES
meson.build:43:0: ERROR: C++ shared or static library 'absl_flags_registry' not found
A full log can be found at /root/webrtc-audio-processing/build/meson-logs/meson-log.txt
$
The current Debian package contains /usr/include/absl/flags/internal/registry.h
but no /usr/include/absl/flags/registry.h
which I assume this is looking for. On upstream master the situation is the same though https://github.com/abseil/abseil-cpp/tree/master/absl/flags
Edited by Julian Groß