LLVM Discussion Forums

Is it possible to specify the path to the libstdc++ in VS Code clangd extension?

Is there a way we can provide non default libstdc++ library to clangd with respect VScode remote. My company uses servers which have very old glibc versions. Is there a way where we can pass in the newer libstdc++ libraries to clangd. As clangd server continously fails to start in cscode remote
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27’ not found (required by /env_build/llvm/clang10/bin/clangd)

/env_build/llvm/clang10/bin/clangd: /lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /env_build/llvm/clang10/bin/clangd)

/env_build/llvm/clang10/bin/clangd: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22’ not found (required by /env_build/llvm/clang10/bin/clangd)

/env_build/llvm/clang10/bin/clangd: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21’ not found (required by /env_build/llvm/clang10/bin/clangd)