-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I try to run the basic example from the README file:
var fb = require("./firebird");
sys = require("sys");
var con = fb.createConnection();
con.connectSync('test.fdb','sysdba','masterkey','');
var res = con.querySync("select * from test");
var rows = res.fetchSync("all",true);
console.log(sys.inspect(rows));
And get the following error:
dyld: lazy symbol binding failed: Symbol not found: _isc_attach_database
Referenced from: /Users/vne/dev/t/node_modules/firebird/build/Release/binding.node
Expected in: dynamic lookupdyld: Symbol not found: _isc_attach_database
Referenced from: /Users/vne/dev/t/node_modules/firebird/build/Release/binding.node
Expected in: dynamic lookupTrace/BPT trap: 5
I only change database connection parameters and SQL query to match my existing database (and, yes, Firebird works with other software, e.g. Python scripts and even NodeJS scripts when I use node-firebird driver). The module was installed via npm:
npm install firebird
and there were only some warnings during compilation. NodeJS version is 0.10.21, MacOS X version is 10.9.2, node-firebird-libfbclient version is 0.0.10.