Install google V8 on ubuntu hardy 64bit
This one required more googling than expected so here's the transcript. Please note this is for 64 bit systems
sudo apt-get install build-essential lib32stdc++6 scons
python is a prerequisite as well, but it should already be on your system In theory the process should be as simple as
mkdir v8
svn checkout http://v8.googlecode.com/svn/trunk v8
cd v8
scons
But since I was trying to compile using "scons snapshot=on" While trying to compile I faced 2 error messages
cannot find -lstdc++
Which was solved by doing
sudo ln -s /usr/lib32/libstdc++.so.6 /usr/lib32/libstdc++.so
And after I hit the error
/usr/bin/ld: cannot find -lgcc_s
Which was solved by
sudo apt-get install gcc-multilib
Note: @niquola pointed out in a comment to this post that if you're using Ubuntu 10.04 (Lucid Lynx) you should also set GCC_VERSION before proceeding with the compilation
export GCC_VERSION=44
Comments [2]