Michael Altfield's gravatar

Google Chrome in 64-bit Sabayon Linux

I really should be studying for my stat exam tomorrow, but I was logging into my.ucf to download my lecture notes, and while Blackboard Learning System (the really shitty replacement for WebCT) was stuck in an infinite loading loop (most probably caused by incompetent javascript) I decided to finally get Google Chromium (which apparently has an excellent javascript engine) working on my Sabayon Linux desktop.

64-bit version (29776)

I was linked by a co-worker to “a 64-bit binary of Google Chromium version (29776)”:http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/29776/. However, upon running it, I had the following error message:

chrome-linux # ./chrome
./chrome: error while loading shared libraries: libnss3.so.1d: cannot open shared object file: No such file or directory

I googled for gentoo-specific chrome install guides, and I ran across this “guide for installing Google Chrome on an x86 Gentoo Linux”:http://blog.andreaolivato.net/open-source/google-chrome-natively-running-on-gentoo-linux.html.

All said and done, here’s the commands I had to run to get Google Chromium up and running:

cd /tmp
wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/29776/chrome-linux.zip
unzip chrome-linux.zip
cd chrome-linux
sudo ln -s /usr/lib/nss/libnss3.so.12 /usr/lib/libnss3.so.1d
sudo ln -s /usr/lib/nss/libnssutil3.so.12 /usr/lib/libnssutil3.so.1d
sudo ln -s /usr/lib/nss/libsmime3.so.12 /usr/lib/libsmime3.so.1d
sudo ln -s /usr/lib/nss/libssl3.so.12 /usr/lib/libssl3.so.1d
sudo ln -s /usr/lib/nspr/libplds4.so.7 /usr/lib/libplds4.so.0d
sudo ln -s /usr/lib/nspr/libplc4.so.7 /usr/lib/libplc4.so.0d
sudo ln -s /usr/lib/nspr/libnspr4.so.7 /usr/lib/libnspr4.so.0d

Now, hopefully I’ll be able to safely browse my.ucf and facebook (both my least-favorite javascript powered websites) without my processor exploding.

Hope this helps someone!

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>