Last Updated: February 25, 2016
·
4.472K
· 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 '3.11.8.11'
Building native extensions.  This could take a while...
Successfully installed libv8-3.11.8.11
1 gem installed

Enjoy!!