'Cxxabi _ 1.3.8 'not found and 'glibcxx _ 3.4.20' not found, Solution

Source: Internet
Author: User

'Cxxabi _ 1.3.8 'not found and 'glibcxx _ 3.4.20' not found, Solution

Android virtual machines that have been used in AndroidStudio all the time, but we all know that the built-in virtual machines are slow, so we decided to replace them with Genymotion with rocket speed.

Genymotion2.8 and VirtualBox5.1 are installed quickly, but Genymotion has the following problems.

Well, let's solve the problem. Enter/lib64 and use the strings libstdc ++ command. so.6 | grep CXXABI and strings libstdc ++. so.6 | grep GLIBCXX: Check whether CXXABI_1.3.8 and GLIBCXX_3.4.20 are available. To solve this problem, you can only upgrade gcc to version 4.9 or above, but centos7 does not have the rpm package of gcc 4.9 +, only manual compilation, compilation and installation also took my boss's effort, but finally found the reliable installation method http://www.qiujiawei.com/cpp-2/ here, thank you very much this blogger.

If gcc 4.9.2 is successfully installed and Genymotion is started happily, the above error will still be reported unexpectedly, and the problem is not solved at all. Find out where the problem is, and finally find libstdc ++ in/lib64. so.6 was not upgraded at all, but it was still used. Finally, a libstdc ++ was found in the gcc installation directory. so.6, use the strings libstdc ++ command. so.6 | grep CXXABI and strings libstdc ++. so.6 | grep GLIBCXX checked and found that there are CXXABI_1.3.8 and GLIBCXX_3.4.20. The following is the key:

1. cd/lib64

2. rm libstdc ++. so.6

3. cp gcc directory/libstdc ++. so.6/lib64

4. ln libstdc ++. so.6 libstdc ++. so.6

Okay. Now, libstdc ++. so.6 under/lib64 is successfully upgraded. Now Genymotion can be started normally, which means I am still naive. The following error is reported:

However, this problem is well solved, here found the solution http://stackoverflow.com/questions/39316164/genymotion-usr-lib64-libx11-so-6-undefined-symbol-xcb-wait-for-reply64, have to say, stackoverflow.com is powerful. You only need to delete libxcb. so.1 under/genymobile/genymotion. the specific reason for this is that you need to continue the study.

At this point, the problem can be considered as a solution to the problem.

If you have other solutions to this problem, please share them with us for your exchange and study. Thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.