Closed nullbyteptr closed 7 months ago
There is a problem when compiling with MacOS built-in curl. A temporary workaround is to install curl from brew and use it.
brew install curl
export PATH=/usr/local/Cellar/curl/7.87.0/bin/:$PATH
npm install node-libcurl
A potential problem is:
the brew-installed curl is bulit with --without-ca-bundle --without-ca-path --with-ca-fallback
flags.
Not sure if it has any security issues.
it seems the curl-config file provided with macos has some broken variables:
one option is using brew's libcurl, which as mentioned above, or building libcurl from source, the build.sh script inside ./scripts/ci/build.sh
could be useful in this case.
Here is an example build command that is used to build everything from source:
LATEST_LIBCURL_RELEASE=7.86.0 LIBCURL_RELEASE=7.86.0 PUBLISH_BINARY="true" ./scripts/ci/build.sh
Getting following error
OS: macos big sur 11.6 Node.js Version: Tried 14/16/18