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!

chrome not working
(6 posts) (3 voices)-
Posted 13 years ago #
-
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/nullPosted 13 years ago # -
I installed it using the package manager, by just typing and installing it. I'll try like this. Thank you!
Posted 13 years ago # -
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
Posted 13 years ago # -
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 ?
Posted 13 years ago # -
@Babaorum
get-google-chrome post_install() symlink targets are owned by libfirefox.tazpkg
get-google-chrome should have:
DEPENDS= libfirefoxWhat 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-chromePosted 13 years ago #
Reply
You must log in to post.