Last Updated: February 25, 2016
· aalvarado

Libv8 install fails with libtool unrecognized option `-static` error

If you have macports on your path this is the likely cause of this issue.

you need to update your path so it uses the libtool from /usr/bin and not the one on /opt/local/libexec/gnubin/libtool

export PATH=/usr/bin:$PATH

$ sudo gem install libv8 -v ''
Building native extensions.  This could take a while...
Successfully installed libv8-
1 gem installed