brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
111 stars 41 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 9 months ago

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

charmander commented 7 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.*.*.