node-pg-query-native
node-pg-query-native copied to clipboard
Apple M1 - Symbol not found: _pg_query_init
Steps to repoduce:
- Use a mac with an M1 chip
- run
npm install
- run
npm test
- Get an error:
➜ node-pg-query-native git:(master) ✗ npm t
> [email protected] test /Users/eliya/temp/node-pg-query-native
> mocha
pg-query
dyld: lazy symbol binding failed: Symbol not found: _pg_query_init
Referenced from: /Users/eliya/temp/node-pg-query-native/build/Release/pg-query.node
Expected in: flat namespace
dyld: Symbol not found: _pg_query_init
Referenced from: /Users/eliya/temp/node-pg-query-native/build/Release/pg-query.node
Expected in: flat namespace
Doesn't work in Rosetta as well