I'm encountering an error after installing node on a new machine.
$ -node
node: error while loading shared libraries: libv8.so.3: cannot open shared object file: No such file or directory
I tried to install v8 with the instructions from http://code.google.com/p/v8/wiki/BuildingWithGYP
but with very little luck. Any help on this issue?
My system is:
SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 2
Thank you in advance
I had encountered the same problem, and that answer solved it - Linux error while loading shared libraries: cannot open shared object file: No such file or directory
long story short ,
$ locate libv8.so.3
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my_library/path.so.something
$ export LD_LIBRARY_PATH
$ ./my_app
GL, ido
The Node RPM you installed has a dependency on the libv8.so.3 module from the v8 RPM. Install v8, then search for the module and copy it to the path where node is searching for modules. Edit the ~/.bash_profile with the paths of v8's enable file to correctly map v8 on the machine.
$find / -name libv8.so*
$cp /the found path/libv8.so /node module path/
$find / -name enable | grep v8*
$vim /path to v8 enable file/enable (highlight the export PATH statements)
$vim ~/.bash_profile
Shift+I (paste in the contents of the v8 enable file)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With