Skip to content

MacOS X issue #26

@vne

Description

@vne

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 lookup

dyld: Symbol not found: _isc_attach_database
Referenced from: /Users/vne/dev/t/node_modules/firebird/build/Release/binding.node
Expected in: dynamic lookup

Trace/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions