SliTaz SliTaz Forum

You are not logged in.

#1 2011-11-11 17:47:10

popguy
Member
Registered: 2011-11-07
Posts: 8

chrome not working

Hi! i have downloaded chrome on my portge 200 laptop on which i have cooking installed. however, i see it in my internet apps, but when i click on it, it fails to start. Any ideas? thanks!

Offline

#2 2011-11-11 17:59:00

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: chrome not working

Did you install this way?

#tazpkg get-install get-google-chrome

#get-google-chrome

If you didn't your missing depends.

DEPENDS="gtk+ GConf lzma flash-plugin bash xdg-utils xorg-libXss cups libjpeg62"

Chrome looks for shared libs with different names which have to be symlinked:

ln -s /usr/lib/libnspr4.so $root/usr/lib/libnspr4.so.0d 2> /dev/null

ln -s /usr/lib/libnss3.so $root/usr/lib/libnss3.so.1d 2> /dev/null

ln -s /usr/lib/libnssutil3.so $root/usr/lib/libnssutil3.so.1d 2> /dev/null

ln -s /usr/lib/libplc4.so $root/usr/lib/libplc4.so.0d 2> /dev/null

ln -s /usr/lib/libplds4.so $root/usr/lib/libplds4.so.0d 2> /dev/null

ln -s /usr/lib/libsmime3.so $root/usr/lib/libsmime3.so.1d 2> /dev/null

ln -s /usr/lib/libssl3.so $root/usr/lib/libssl3.so.1d 2> /dev/nul

sed -i 's/exec -a "$0"/exec /' $root/usr/bin/google-chrome 2> /dev/null

Online

#3 2011-11-12 08:34:09

popguy
Member
Registered: 2011-11-07
Posts: 8

Re: chrome not working

I installed it using the package manager, by just typing and installing it. I'll try like this. Thank you!

Offline

#4 2011-11-15 11:19:04

popguy
Member
Registered: 2011-11-07
Posts: 8

Re: chrome not working

Excuse me,  I fail to understand:

if you didn't your missing depends.

DEPENDS="gtk+ GConf lzma flash-plugin bash xdg-utils xorg-libXss cups libjpeg62"

Must I install these packages ?

and must i also edit the libs adding the parameters you gave me?

thank you

Offline

#5 2011-11-15 12:14:07

babaorum
Moderator
Registered: 2011-03-29
Posts: 109

Re: chrome not working

Hi, the list of dependencies is here to allow tazpkg to load them in the background of installation or, when something failed, to help you to manually install and/or correct missing/downgraded but existing libraries.

That's what Mojo did: show you how to rename some downgraded but existing libraries, because they will work for chrome. In fact that's not a matter of renaming, but creating symbolic links with wanted names.

What I do not understand myself is the "$root" variable. What's this ?

Offline

#6 2011-11-15 14:44:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: chrome not working

@Babaorum

get-google-chrome post_install() symlink targets are owned by libfirefox.tazpkg

get-google-chrome should have:

DEPENDS= libfirefox

What I do not understand myself is the "$root" variable. What's this ?

Maybe it's required by script, I copy/pasted from get-google-chrome post_install():

http://hg.slitaz.org/wok/file/3dcafc5547ae/get-google-chrome/stuff/get-google-chrome

Online

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]