Centos 6.6 Install Google Chrome appears/usr/lib/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found crappy solution

Source: Internet
Author: User

The previously installed Google Browser, not official, and can not be loaded with Adobe Flash Player, but began to study the original installation method.

Same error requires:libstdc++.so.6 (glibcxx_3.4.15) whether using Yum installation or RPM

But it was previously upgraded to GCC, using strings/usr/lib/libstdc++.so.6 | grep GLIBC can also be seen: glibcxx_3.4.15

Helpless installation always said can not find, later found on the internet, the problem solved:


Download new version, address: Http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb

Yes, right. Download the Deb installation package.

Then execute:

Ar-x Libstdc++6_4.7.2-5_i386.debtar XVF data.tar.gz
A USR directory is generated in the current directory,

CD USR/LIB/I386-LINUX-GNURM/USR/LIB/LIBSTDC++.SO.6CP LIBSTDC++.SO.6.0.17/USR/LIBCD/USR/LIB/LN libstdc++.so.6.0.17 Libstdc++.so.6

Then download the official original:

With a shell script:

#!/bin/bashif [-Z "${chromium_version}"];  Then # Unset by default, get current. # chromium_version=29.0.1547.57 # chromium_svn_revision=217859 Truefiif [-Z "${channel}"]; Then channel= "Stable" fiif [-N "${chromium_version}"]; Then version_release= "-${chromium_version}-${chromium_svn_revision}." else version_release= "_current_" fiarch= "$ (uname-i)" rpm_file= "Google-chrome-${channel}${version_release}${arch}. RPM "# 1. Download Google chrome.echo-e "\n1. Downloading Google chrome.\n "if [-F" ${rpm_file} "]; Then Echo-e "\nusing existing ${rpm_file}.\n" Else Echo-e "\ndownloading ${rpm_file}, ~ mb.\n" If [-N "${chromium_ VERSION} "]; Then curl "Https://dl.google.com/linux/chrome/rpm/stable/${arch}/${rpm_file}"-O "${rpm_file}" Else Curl "https://d L.google.com/linux/direct/${rpm_file} "-O" ${rpm_file} "Fifiecho-e" \ninfo for ${rpm_file}: "Echo-e" Version: $ (rpm-q A-f ${rpm_file}--QF%{version}) "Echo-e" Release (SVN Revision): $ (rpm-qa-f ${rpm_file}--qf%{rElease}) "echo" " 

# 2. Extract rpm.echo-e "\n2. Extracting ${rpm_file}.\n "Rm-rf google_chrome && mkdir google_chrome && cd Google_chromerpm2cpio. /${rpm_file} | Cpio-id--quietcd.
This will be extracted from the current directory in a Chrome browser, you can first try to run

If it can run, the
Installation:

Ignore dependent forced installation: RPM-IVH *.rpm--nodeps--force

Complete.


Centos 6.6 Install Google Chrome appears/usr/lib/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found crappy solution

Related Article

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.