Skip to content

Issue building webrtc on Linux amd64, I get the below error #15

@PranavDhulipala

Description

@PranavDhulipala

-- GN configuration complete.
ninja: Entering directory /path/to/build/webrtc/_deps/webrtc-build/Release' [1/3] LINK ./data_channel_benchmark FAILED: data_channel_benchmark "vpython3" "../../webrtc-src/src/build/toolchain/gcc_link_wrapper.py" --output="./data_channel_benchmark" -- g++ -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -m64 -Wl,--gc-sections -Wl,-z,defs -Wl,--as-needed --sysroot=../../webrtc-src/src/build/linux/debian_bullseye_amd64-sysroot -rdynamic -pie -Wl,--disable-new-dtags -o "./data_channel_benchmark" -Wl,--start-group @"./data_channel_benchmark.rsp" -Wl,--end-group ./libgrpc++.so -latomic -ldl -lpthread -lrt -lX11 -lm -lz -Wl,--start-group -Wl,--end-group /usr/bin/ld: ../../webrtc-src/src/build/linux/debian_bullseye_amd64-sysroot/lib/x86_64-linux-gnu/libdl.so.2: undefined reference to _dl_catch_error@GLIBC_PRIVATE'
/usr/bin/ld: ../../webrtc-src/src/build/linux/debian_bullseye_amd64-sysroot/lib/x86_64-linux-gnu/libdl.so.2: undefined reference to _dl_sym@GLIBC_PRIVATE' /usr/bin/ld: ../../webrtc-src/src/build/linux/debian_bullseye_amd64-sysroot/lib/x86_64-linux-gnu/libdl.so.2: undefined reference to _dl_addr@GLIBC_PRIVATE'
/usr/bin/ld: ../../webrtc-src/src/build/linux/debian_bullseye_amd64-sysroot/lib/x86_64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
CMake Error at CMakeLists.txt:300 (message):
"ninja -C
/path/to/build/webrtc/_deps/webrtc-build/Release"
failed (1)

-- Configuring incomplete, errors occurred!
gmake: *** [Makefile:733: cmake_check_build_system] Error 1
--- stderr: webrtc
CMake Warning at /path/to/build/webrtc/_deps/ninja-src/CMakeLists.txt:77 (message):
re2c 2 or later was not found; changes to src/*.in.cc will not affect your
build.

CMake Error at CMakeLists.txt:300 (message):
"ninja -C
/path/to/build/webrtc/_deps/webrtc-build/Release"
failed (1)

gmake: *** [Makefile:733: cmake_check_build_system] Error 1

looks like glibc is not installed or linked properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions