cannot find -lstdc++

when I try to open the application on linux it crashes and prints this lines :

/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation) soffice.bin: common.c:108: llvm_codegen: Assertion `error == 0’ failed.

does anyone know how to fix it?Thanks in advance.

@donpwner: Please do not post as community wiki. See guidelines for asking. Also when cross-posting, it’s polite to post links to the other question. In this case, your question at linux - libreoffice cannot find -lstdc++ - Super User has been answered.