Description
- Node.js Version: >= v10
- OS: all
- Scope (install, code, runtime, meta, other?): native addon
I've opened a similar issue on node-gyp (nodejs/node-gyp#1559), and there are more information there, but since there was no solution posted, I'm also opening another issue here to have more chances of a definitive solution / guide.
Currently building a native addon with a version of OpenSSL independent of the one shipped with Node.js is very hard, at least to me with basic knowledge on linking / libraries in C++ and / or using gyp files.
Looks like the shipped symbols always take precedence, no matter what I do, which causes all kinds of weird errors and segmentation faults.
There are many other issues about this topic, most are closed without a real solution, and the following wiki page is outdated: https://github.com/nodejs/node-gyp/wiki/Linking-to-OpenSSL