Skip to content

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.

2 participants