/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found

Source: Internet
Author: User

If the 64-bit system error message is as follows:

/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found (required by

The reason is that there is no glibcxx_3.4.15 version, or a higher version.
Enter the command to query the results:

[Root@localhost ~]# strings/usr/lib/libstdc++.so.6 | grep glibcxx
glibcxx_3.4
glibcxx_3.4.1
glibcxx_3.4.2
glibcxx_3.4.3
glibcxx_3.4.4
glibcxx_3.4.5
glibcxx_3.4.6
glibcxx_3.4.7
glibcxx_3.4.8
glibcxx_3.4.9
glibcxx_3.4.10
glibcxx_3.4.11
glibcxx_3.4.12
glibcxx_3.4.13
Glibcxx_force_new
Glibcxx_debug_message_length

We see that there is really no glibcxx_3.4.15 in the current GCC version.

The 64-bit system commands are:

[Root@localhost ~]# strings/usr/lib64/libstdc++.so.6 | grep glibcxx

64-bit system:

Http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_amd64.deb

Assume that the downloaded file is placed in/data0/software/.

The 64-bit system is:

[Email protected] software]# Cd/data0/software/usr/lib/x86_64-linux-gnu
[email protected] x86_64-linux-gnu]# CP libstdc++.so.6.0.17/usr/lib64
[Email protected] x86_64-linux-gnu]#/usr/lib
[Email protected] lib64]# RM libstdc++.so.6
[Email protected] lib64]# LN libstdc++.so.6.0.17 libstdc++.so.6

Re-establish the soft connection, we then enter the command to query the results:

[Email protected] lib]# strings/usr/lib/libstdc++.so.6 | grep glibcxx
glibcxx_3.4
glibcxx_3.4.1
glibcxx_3.4.2
glibcxx_3.4.3
glibcxx_3.4.4
glibcxx_3.4.5
glibcxx_3.4.6
glibcxx_3.4.7
glibcxx_3.4.8
glibcxx_3.4.9
glibcxx_3.4.10
glibcxx_3.4.11
glibcxx_3.4.12
glibcxx_3.4.13
glibcxx_3.4.14
glibcxx_3.4.15
glibcxx_3.4.16
glibcxx_3.4.17
Glibcxx_debug_message_length

The glibcxx_3.4.15 has been installed.

/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found

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.