Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around apparent SSL incompatibility with Node 18 #1932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chuckdries
Copy link

@chuckdries chuckdries commented Sep 8, 2022

When attempting to install under node 18 I encounter this error message,

/Users/chuckdries/.node-gyp/18.0.0/include/node/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
#  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
   ^
1 error generated.

so I applied the solution from this stackoverflow and it worked. Probably doesn't help on Windows, I didn't try. ¯\_( ツ )_/¯ https://stackoverflow.com/questions/70541687/linking-local-openssl-to-nodejs-c-addon

@ianhattendorf
Copy link
Member

Hmm, probably related to the move to OpenSSL 3. I'm worried this will break for older node versions, let's see what happens in CI.

@ianhattendorf
Copy link
Member

ianhattendorf commented Sep 15, 2022

@chuckdries looks like CI passed, do you want to try adding 18 to jobs.(linux,macos)-tests.strategy.matrix.node inside .github/workflows/tests.yml so we can see if we pass there?

And go ahead and remove 12, that's EOL as of ~4 months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants