node-pg-query-native icon indicating copy to clipboard operation
node-pg-query-native copied to clipboard

Apple M1 - Symbol not found: _pg_query_init

Open Newbie012 opened this issue 3 years ago • 0 comments

Steps to repoduce:

  1. Use a mac with an M1 chip
  2. run npm install
  3. run npm test
  4. 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

Newbie012 avatar Jun 20 '21 08:06 Newbie012