Please support VectorLinux!

Author Topic: google chrome  (Read 6836 times)

smelm0

  • Member
  • *
  • Posts: 18
google chrome
« on: January 14, 2010, 09:18:26 am »
running vl6 on a P3 t20 ibm lap. satisfactory surfing with swiftfox but looking for a bit more speed if possible.
followed tutorial for installing google chrom rpm and can't get it to launch. getting the following error

mikey:$ google-chrome
/usr/bin/google-chrome: line 27: /opt/google/chrome/chrome: cannot execute binary file
/usr/bin/google-chrome: line 27: /opt/google/chrome/chrome: Success

any help would be appreciated.
thanks
mike

smelm0

  • Member
  • *
  • Posts: 18
Re: google chrome
« Reply #1 on: January 14, 2010, 09:32:33 am »
the 1st was the 64 rpm ver by mistake. loaded the 32 bit ver and I get the following error:

mikey:$ google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libnssutil3.so.1d: cannot open shared object file: No such file or directory

I have nss installed as per tutorial.
thanks again
mike

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: google chrome
« Reply #2 on: January 14, 2010, 09:35:18 am »
Not at my home box now, but I think I just made symlink libnssutil3.so.1 pointing to libnssutil3.so.

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: google chrome
« Reply #3 on: January 14, 2010, 10:11:16 am »
Could you tell me which mozilla-nss version number you installed?
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

smelm0

  • Member
  • *
  • Posts: 18
Re: google chrome
« Reply #4 on: January 14, 2010, 02:22:46 pm »
mozilla-nss-3.12-i486-1ant.tgz

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: google chrome
« Reply #5 on: January 14, 2010, 03:13:34 pm »
mozilla-nss-3.12-i486-1ant.tgz
I think that may be the problem.  The tutorial calls for mozilla-nss-3.12.3.  Earlier versions are not going to work with google-chrome, by my understanding.
Try this ...
right click on mozilla-nss-3.12 and remove package, or run rmpackage from the terminal.
Then download mozilla-nss-3.12.3 and install.
Let me know if that is enough.
Ken
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

smelm0

  • Member
  • *
  • Posts: 18
Re: google chrome
« Reply #6 on: January 14, 2010, 03:31:25 pm »
can't seem to find mozilla-nss-3.12.3 to download.

smelm0

  • Member
  • *
  • Posts: 18
Re: google chrome
« Reply #7 on: January 14, 2010, 03:39:28 pm »
found package at:
http://connie.slackware.com/~alien/slackbuilds/mozilla-nss/pkg/12.2/
installed and still have same libnss error

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: google chrome
« Reply #8 on: January 14, 2010, 03:54:35 pm »
OK, I was afraid you might.  You will now need to link the requested for file with the one installed.
This unfortunatly, happens when you start with the wrong mozilla-nss.

Here is what we need to do, try and start google-chrome again and post the error here.
I will give you a command to link the library to the correct one on the system.
Then run google-chrome again. This should generate one more error.  Post that error as well.
We will fix it with a link 'ln' as well.
That should do it, I hope.
Ken
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: google chrome
« Reply #9 on: January 14, 2010, 04:55:39 pm »
For future reference, I believe mozilla-nss is in the repository. (maybe in testing right now)
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

GrannyGeek

  • Packager
  • Vectorian
  • ****
  • Posts: 2567
Re: google chrome
« Reply #10 on: January 14, 2010, 07:48:08 pm »
Here is what we need to do, try and start google-chrome again and post the error here.
I will give you a command to link the library to the correct one on the system.
Then run google-chrome again. This should generate one more error.  Post that error as well.
We will fix it with a link 'ln' as well.

Should he run
ldconfig
as root after creating the symlink? I routinely run it when I install anything unless Gslapt took care of the whole thing.
--GrannyGeek
Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller

smelm0

  • Member
  • *
  • Posts: 18
Re: ken as per your instruction for google chrome
« Reply #11 on: January 14, 2010, 08:03:47 pm »
this is the error:

mikey:$ google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libnssutil3.so.1d: cannot open shared object file: No such file or directory

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: google chrome
« Reply #12 on: January 15, 2010, 04:23:04 am »
Sorry, I didn't get back sooner.
First of all Granny may have a good idea there.  I'd even try running ldconfig right now as root, then trying google-chrome again, just to see if that is enough.

Otherwise here is what you do.
Still as root update you locate database with...
slocate -u
It will take a 1/2 minute to finish.
Then staying as root do...
locate libnssutil3*

You may get a couple results but what you are looking for will be in /usr/lib/ and may lood something like...
/usr/lib/libnssutil3.so
Then you want to link the library you have with the name google-chrome is looking for, like so....
ln /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d

When you run google-chrome again you will get a simular error but a different filename.
Do the same steps...
locate libnsswhatever    (libnsswhatever = the name of the missing library that turns up in the error)
Then ln (link) the file name the machine has with the file google-chrome is looking for.
This is a guess but I think google-chrome may error on libnss3.so.1d in which case the link would look like this...
ln /usr/lib/libnss3.so /usr/lib/libnss3.so.1d
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Re: google chrome
« Reply #13 on: January 15, 2010, 06:33:53 am »
Then you want to link the library you have with the name google-chrome is looking for, like so....
ln /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d

Wouldn't it be: ln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d ?
(needs the -s to make it a symbolic link)
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

smelm0

  • Member
  • *
  • Posts: 18
Re: google chrome
« Reply #14 on: January 15, 2010, 09:29:57 am »
ken

this is about to where I'm at. I tried the ldconfig as root to see if that alone would remedy the error but as you can see it was a no go.

root:# ldconfig
t20://home/mikey
root:# google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libnssutil3.so.1d: cannot open shared object file: No such file or directory
t20://home/mikey
root:# slocate -u
t20://home/mikey
root:# locate libnssutil3.so.1d
t20://home/mikey
root:# locate libnssutil3.so
/opt/swiftfox/libnssutil3.so
/opt/google/chrome/libnssutil3.so
/usr/lib/firefox-3.0.6/libnssutil3.so
/usr/lib/libnssutil3.so
t20://home/mikey
root:#

I'm kind of stuck here as to setting up the symlink as per your suggestion. need a bit of an assist.
btw, I tried to uninstall chrome and reinstall it with the proper nss package but as you can see I'm still not getting it running

thanks
mike