You are not logged in.
Pages: 1
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
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
I installed it using the package manager, by just typing and installing it. I'll try like this. Thank you!
Offline
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
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
@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
Pages: 1
[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]