Problem build on debian 11

Hello
I followed the tutorial mediasoup :: Installation
to build libmediasoupclient.
But when i build webrtc libraries on debian 11
I have this error
FAILED: peerconnection_server
“python3” “…/…/build/toolchain/gcc_link_wrapper.py” --output=“./peerconnection_server” – g++ -Wl,–fatal-warnings -Wl,–build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -fuse-ld=gold -Wl,–threads -Wl,–thread-count=4 -m64 -Wl,-O2 -Wl,–gc-sections -rdynamic -Wl,-z,defs -Wl,–as-needed --sysroot=…/…/build/linux/debian_bullseye_amd64-sysroot -pie -Wl,–disable-new-dtags -o “./peerconnection_server” -Wl,–start-group @“./peerconnection_server.rsp” -Wl,–end-group -latomic -ldl -lpthread -lrt
double free or corruption (!prev)
collect2: fatal error: ld terminated with signal 6 [Aborted]
compilation terminated.
Can you help me
thanks