gpt4 book ai didi

linux - uwsgi :/usr/lib/libstdc++. so.6 : version `CXXABI_1.3.8' not found (required by/usr/lib/x86_64-linux-gnu/libicuuc. so.55

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:19:44 28 4
gpt4 key购买 nike

我在运行 sentry run web 时遇到此错误。

我对此感到困惑并尝试了很多事情,例如:

https://stackoverflow.com/questions/20357033/how-to-fix-program-name-usr-lib-x86-64-linux-gnu-libstdc-so-6-version-cxx,

https://stackoverflow.com/questions/35392310/error-building-gcc-4-8-3-from-source-libstdc-so-6-version-cxxabi-1-3-8-not.

但它对我不起作用。问题依旧:

uwsgi: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)

我的系统运行 Ubuntu 16.04

如何解决这个问题?请帮助我。

最佳答案

发件人:https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_install

If you already have an older version of libstdc++ installed then the error might look like one of the following instead:

./a.out: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
./a.out: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found

This means the linker found /usr/lib/libstdc++.so.6 but that library belongs to an older version of GCC than was used to compile and link the program a.out (or some part of it).

gcc 动态链接器需要新库的新路径:

export LD_LIBRARY_PATH=${prefix}/lib:$LD_LIBRARY_PATH

即:

export LD_LIBRARY_PATH=/usr/lib64/:$LD_LIBRARY_PATH

(根据您的系统,您可能需要/usr/lib/)

查找路径:

locate libstdc++.so.6

总结:gcc 动态链接器搜索预配置目录列表,如下所述:https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_install共享库 libstdc++.so.6 已经存在,我们只需将链接器指向正确的位置。

关于linux - uwsgi :/usr/lib/libstdc++. so.6 : version `CXXABI_1.3.8' not found (required by/usr/lib/x86_64-linux-gnu/libicuuc. so.55,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45235647/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com