Closed thijstriemstra closed 6 years ago
Nothing node-opus can fix here.
You need a working libtool to compile Node.js native components. I don't know where that comes from on OSX. You might want to google for libtool unrecognized option static
.
Thanks for the feedback. Looking into that now..
$ ls -l /usr/local/bin/libtool
-rwxr-xr-x 1 root wheel 365786 Dec 14 2017 /usr/local/bin/libtool
$ ls -l /usr/bin/libtool
-rwxr-xr-x 1 root wheel 18176 Jul 9 2016 /usr/bin/libtool
As long as you use the /usr/bin/libtool
it'll install fine. So this workaround fixed it for me:
$ export PATH=/usr/bin/:$PATH
$ npm install node-opus -D
Results in:
System info reported by
libtool
: