LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-30-2013, 05:39 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Rep: Reputation: 30
google-chrome-stable-28 will not install on CentOS 6.4 x86_64


Code:
# yum install google-chrome
Error: Package: google-chrome-stable-28.0.1500.63-208724.x86_64 (google-chrome) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Code:
# yum install libstdc++.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: dist1.800hosting.com
 * extras: dist1.800hosting.com
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.us.leaseweb.net
Setting up Install Process
Package libstdc++-4.4.7-3.el6.i686 already installed and latest version
Nothing to do

Any ideas?
 
Old 06-30-2013, 07:02 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
this has already been happening to others as well.

for example:

http://googlechromereleases.blogspot...update_17.html
http://superuser.com/questions/60132...-way-around-it
http://www.muktware.com/5203/google-...nux-6-obsolete
https://support.google.com/chrome/answer/95411

and the issue is that chrome requires newer version of standard C++ shared libraries now and CentOS 5/6 is not officially supported.
 
Old 07-13-2013, 05:43 AM   #3
rkl
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Try this script...

I've just made a script available here:

http://chrome.richardlloyd.org.uk/

When run, it will download/install the latest Chrome and also download/extract
various libraries from some Fedora 15 RPMs. It's allowed me to run
Chrome 28 on 64-bit CentOS 6.4 without any issues.
 
Old 07-13-2013, 08:15 AM   #4
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Original Poster
Rep: Reputation: 30
Thanks for your work on this.

First I got this:

Code:
# ./install_chrome.sh
Downloading latest Google Chrome ...
--2013-07-12 19:07:56--  https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Resolving dl.google.com... 208.117.232.120, 208.117.232.122, 208.117.232.123, ...
Connecting to dl.google.com|208.117.232.120|:443... connected.
ERROR: certificate common name “google.com” doesn’t match requested host name “dl.google.com”.
To connect to dl.google.com insecurely, use ‘--no-check-certificate’.
install_chrome.sh: ERROR: Failed to download google-chrome-stable_current_x86_64.rpm - aborted
[root@Fir walter]#

So I edited this line in the script file:

Code:
  wget https://dl.google.com/linux/direct/$chrome_rpm --no-check-certificate
After that, I got this:

Code:
# ./install_chrome.sh
Downloading latest Google Chrome ...
--2013-07-12 19:08:19--  https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Resolving dl.google.com... 208.117.232.122, 208.117.232.123, 208.117.232.116, ...
Connecting to dl.google.com|208.117.232.122|:443... connected.
WARNING: certificate common name “google.com” doesn’t match requested host name “dl.google.com”.
HTTP request sent, awaiting response... 200 OK
Length: 54817961 (52M) [application/x-redhat-package-manager]
Saving to: “google-chrome-stable_current_x86_64.rpm”

100%[==================================================================================>] 54,817,961  3.25M/s   in 16s     

2013-07-12 19:08:35 (3.24 MB/s) - “google-chrome-stable_current_x86_64.rpm” saved [54817961/54817961]

Downloading libstdc++-4.6.0-6.fc15.x86_64.rpm ...
--2013-07-12 19:08:35--  http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/Packages/libstdc++-4.6.0-6.fc15.x86_64.rpm
Resolving dl.fedoraproject.org... 209.132.181.24, 209.132.181.25, 209.132.181.26, ...
Connecting to dl.fedoraproject.org|209.132.181.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 282700 (276K) [application/x-rpm]
Saving to: “libstdc++-4.6.0-6.fc15.x86_64.rpm”

100%[==================================================================================>] 282,700      557K/s   in 0.5s    

2013-07-12 19:08:36 (557 KB/s) - “libstdc++-4.6.0-6.fc15.x86_64.rpm” saved [282700/282700]

cp: cannot create regular file `/opt/google/chrome/lib/libstdc++.so.6': No such file or directory
Downloading glibc-2.13.90-9.x86_64.rpm ...
--2013-07-12 19:08:36--  http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/Packages/glibc-2.13.90-9.x86_64.rpm
Resolving dl.fedoraproject.org... 209.132.181.27, 209.132.181.23, 209.132.181.24, ...
Connecting to dl.fedoraproject.org|209.132.181.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3551696 (3.4M) [application/x-rpm]
Saving to: “glibc-2.13.90-9.x86_64.rpm”

100%[==================================================================================>] 3,551,696   1.90M/s   in 1.8s    

2013-07-12 19:08:38 (1.90 MB/s) - “glibc-2.13.90-9.x86_64.rpm” saved [3551696/3551696]

cp: cannot create regular file `/opt/google/chrome/lib/libc.so.6.orig': No such file or directory
cp: cannot create regular file `/opt/google/chrome/lib/ld-linux-x86-64.so.3': No such file or directory
Downloading gtk2-2.24.4-1.fc15.x86_64.rpm ...
--2013-07-12 19:08:38--  http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/Packages/gtk2-2.24.4-1.fc15.x86_64.rpm
Resolving dl.fedoraproject.org... 209.132.181.23, 209.132.181.24, 209.132.181.25, ...
Connecting to dl.fedoraproject.org|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3386700 (3.2M) [application/x-rpm]
Saving to: “gtk2-2.24.4-1.fc15.x86_64.rpm”

100%[==================================================================================>] 3,386,700   1.83M/s   in 1.8s    

2013-07-12 19:08:40 (1.83 MB/s) - “gtk2-2.24.4-1.fc15.x86_64.rpm” saved [3386700/3386700]

cp: cannot create regular file `/opt/google/chrome/lib/libgdk-x11-2.0.so.0': No such file or directory
cp: cannot create regular file `/opt/google/chrome/lib/libgtk-x11-2.0.so.0': No such file or directory
Downloading glib2-2.28.6-2.fc15.x86_64.rpm ...
--2013-07-12 19:08:41--  http://dl.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/Packages/glib2-2.28.6-2.fc15.x86_64.rpm
Resolving dl.fedoraproject.org... 209.132.181.27, 209.132.181.23, 209.132.181.24, ...
Connecting to dl.fedoraproject.org|209.132.181.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1800104 (1.7M) [application/x-rpm]
Saving to: “glib2-2.28.6-2.fc15.x86_64.rpm”

100%[==================================================================================>] 1,800,104   1.35M/s   in 1.3s    

2013-07-12 19:08:43 (1.35 MB/s) - “glib2-2.28.6-2.fc15.x86_64.rpm” saved [1800104/1800104]

cp: cannot create regular file `/opt/google/chrome/lib/libglib-2.0.so.0': No such file or directory
./install_chrome.sh: line 156: /opt/google/chrome/lib/libc.so.6.orig: No such file or directory
chmod: cannot access `/opt/google/chrome/lib/libc.so.6': No such file or directory
Google Chrome installed - please it run via the 'google-chrome' command
as a non-root user.

You will get a few terminal warnings when starting the browser, but
these even appear on Fedora 19, so it looks like a Chrome bug to me.
Looks like it made some progress, but still did not quite work for me.

Thanks again.
 
Old 07-13-2013, 08:45 AM   #5
rkl
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
1.02 version available

That's peculiar because 2 machines I tested the acript on didn't need that wget option to work OK. I've updated the script to 1.02 now (1.01 had already fixed your other issue), so please re-download it and try again.
 
Old 07-15-2013, 03:57 PM   #6
mddesai
Member
 
Registered: Mar 2013
Location: Bengaluru, India
Distribution: Redhat, Arch
Posts: 479

Rep: Reputation: 132Reputation: 132
You cannot install chrome on RHEL family from now on as google has declared rhel as obsolete. better to look for alternative browser..
http://www.muktware.com/5203/google-...nux-6-obsolete
 
Old 07-15-2013, 04:44 PM   #7
rkl
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by mddesai View Post
You cannot install chrome on RHEL family from now on as google has declared rhel as obsolete.
Well, that's two dubious claims in one sentence :-) You can indeed install the latest Google Chrome on RHEL 6-based distros. Yes, you may need extra options like "--force --nodeps" to get the RPM installed, but you can definitely install it. As for it actually properly running - you need something like 6 Fedora 15 libraries to be additionally installed (that's what my script does).

Google has moved their base Ubuntu build environment for Google Chrome forward to 12.04 LTS - the obsoletion here was the previous Ubuntu LTS release, not RHEL/CentOS 6 itself. The unfortunate side-effect of this was to raise the minimum library requirements, which then forced a similar minimum distro version requirement as documented here. CentOS 6 isn't there because its glibc, libstdc++, glib2 and gtk+2 libraries are all below the minimum version required.

Even the link you gave has been updated with "Google now says RHEL 6 is not obsolete" link which you've conveniently ignored.

Google's obvious mistake here w.r.t. compatibility is to base their dev system on Ubuntu instead of RHEL (or a derivative like CentOS). When you're distributing a binary-only product, you should make every attempt to get it to run on as many systems as possible, even if this means older distros/libraries (or even statically linking libraries) on your dev system.

The upshot is that Google Chrome should no longer be considered your primary browser on the CentOS platform. My script allows it to run, but since Google no longer test on CentOS 6 (if they ever did :-) ), it really can't be relied on any more as your default browser.
 
Old 07-16-2013, 01:07 PM   #8
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rkl View Post
That's peculiar because 2 machines I tested the acript on didn't need that wget option to work OK. I've updated the script to 1.02 now (1.01 had already fixed your other issue), so please re-download it and try again.
The new script works. But, I get a lot of errors. The errors do not seem to actually affect anything, just an annoyance.
 
Old 07-20-2013, 08:02 AM   #9
PeterSteele
Member
 
Registered: Jun 2012
Posts: 202

Rep: Reputation: Disabled
I'm a bit late getting on this thread, but I've also just ran this script to install Chrome version 28. I didn't get any errors but my videos still don't work. I get audio but no picture. I'm running under CentOS 6.4. Any suggestions on how to resolve this?
 
Old 07-24-2013, 06:08 PM   #10
rkl
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
I've just made version 3.11 of the script available that should fix the permissions issue some users have been seeing. It's related to SELinux and there's still a problem with nacl_helper and SELinux, but at least Google Chrome will now actually start with SELinux enabled and enforcing, which wasn't the case for previous script releases.
 
Old 07-25-2013, 09:58 AM   #11
PeterSteele
Member
 
Registered: Jun 2012
Posts: 202

Rep: Reputation: Disabled
Any advice on how to resolve my video problems? I get sound, but no picture. Used to work fine under version 26. Too bad I didn't note the versions of things that got updated when I installed this new version of Chrome. I'd be happy with rolling back if that solved my video issues.
 
Old 07-25-2013, 05:28 PM   #12
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 792

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by PeterSteele View Post
Any advice on how to resolve my video problems? I get sound, but no picture. Used to work fine under version 26. Too bad I didn't note the versions of things that got updated when I installed this new version of Chrome. I'd be happy with rolling back if that solved my video issues.
I just installed chrome using this script and did not have those issues. What website are you having problems with? I did get several coreutil crashes that brought the bug reporting tool gui up. However, a simple reboot (or in my case running ldconfig as root) resolved it.
 
Old 07-26-2013, 05:43 PM   #13
PeterSteele
Member
 
Registered: Jun 2012
Posts: 202

Rep: Reputation: Disabled
Videos from cnn.com and youtube.com do not play properly. Audio only. I haven't checked beyond those two sites, but I suspect any flash based video from any site would behave the same way.
 
Old 07-26-2013, 06:44 PM   #14
rkl
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
I've made version 3.20 available which now uses some C code to try to avoid crashes of helper app/plugins run by Google Chrome. This may or may not fix your video issue (youtube.com is working fine for me, so I can't reproduce your problem). You may, for example, have disabled the built-in Flash player and are using an external plug-in.
 
Old 07-26-2013, 06:46 PM   #15
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 792

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by PeterSteele View Post
Videos from cnn.com and youtube.com do not play properly. Audio only. I haven't checked beyond those two sites, but I suspect any flash based video from any site would behave the same way.
Interesting. I tried both of those websites and they worked fine for me. Are you using 32 or 64 bit?
 
  


Reply

Tags
chromium


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google Releases Chrome 21 Stable for Linux LXer Syndicated Linux News 0 08-01-2012 10:50 AM
LXer: Google Releases Chrome 17 Stable LXer Syndicated Linux News 0 02-08-2012 10:00 PM
LXer: Google releases Chrome 8.0 stable LXer Syndicated Linux News 0 12-04-2010 11:30 AM
I can't install google-chrome on Slackware 13.1 for x86_64 alculquicondor Slackware 6 07-18-2010 01:09 AM
LXer: Faster, Stable Google Chrome 3 LXer Syndicated Linux News 0 09-18-2009 01:31 AM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration