brianc / node-libpq

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

AWS Hosting : libpq compiling #37

Open alxpereira opened 8 years ago

alxpereira commented 8 years ago

Hi guys, I have an issue deploying my code on my dev server on AWS (Amazon Linux instance). It looks like the "libpq" module inherited from my psql config is crashing the thing.

Error: /home/ec2-user/common/node_modules/libpq/build/Release/addon.node: undefined symbol: node_module_register

FYI i'm using PM2 to run the app, that is causing this crash. Using just "node start" it's running properly...

Any idea ? Thx ! Alex