brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
113 stars 44 forks source link

segmentation fault with node 18 and ssl_mode require #94

Open wzrdtales opened 1 year ago

wzrdtales commented 1 year ago

currently there is a segmentation fault together with node 18 and SSL cert authorization

remotezygote commented 11 months ago

This has been an issue for quite a long time. Is there any hope for a fix?

charmander commented 10 months ago

Your Node and libpq need to be linked against ABI-compatible OpenSSLs (compare openssl -version to node -p process.versions.openssl, usually), i.e. both 1.1.* or both 3.*.*.