libreoffice找不到-lstdc ++

时间:2018-04-13 06:34:17

标签: c++ crash libraries libreoffice

当我尝试在linux上打开应用程序时,它会崩溃并打印这些行:

/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.

我不知道如何继续。有人知道如何解决吗?先谢谢。

1 个答案:

答案 0 :(得分:0)

我尝试了这个,并且奏效了:

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install aptitude
sudo apt-get install libstdc++6