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

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

Open
PranavDhulipala opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@PranavDhulipala
Copy link

-- 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?

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

1 participant