grumdrig/node-sqlite

Does not work under node.js v0.6.10

dmuth opened this issue · 2 comments

Hi,

When I try to build under the latest and greatest version of node.js, here's what happens when I run the tests:

dmuth@ip-10-245-23-31:~/tmp/grumdig/node-sqlite (master) $ node test.js
The "sys" module is now called "util". It should have a similar interface.

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Unable to load shared library /home/dmuth/tmp/grumdig/node-sqlite/build/default/sqlite3_bindings.node
    at Object..node (module.js:472:11)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/home/dmuth/tmp/grumdig/node-sqlite/sqlite.js:26:16)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)

I've verified that the file is in fact there:

dmuth@ip-10-245-23-31:~/tmp/grumdig/node-sqlite (master) $ ls -l build/default/sqlite3_bindings.node 
-rwxrwxr-x 1 dmuth dmuth 134201 2012-02-10 16:30 build/default/sqlite3_bindings.node

Any suggestions?

Thanks,

-- Doug

Instances of 'sys' changed to 'util'

Should be fixed now.

On Fri, Feb 10, 2012 at 1:32 PM, Douglas Muth
reply@reply.github.com
wrote:

Hi,

When I try to build under the latest and greatest version of node.js, here's what happens when I run the tests:

dmuth@ip-10-245-23-31:~/tmp/grumdig/node-sqlite (master) $ node test.js
The "sys" module is now called "util". It should have a similar interface.

node.js:201
       throw e; // process.nextTick error, or 'error' event on first tick
             ^
Error: Unable to load shared library /home/dmuth/tmp/grumdig/node-sqlite/build/default/sqlite3_bindings.node
   at Object..node (module.js:472:11)
   at Module.load (module.js:348:31)
   at Function._load (module.js:308:12)
   at Module.require (module.js:354:17)
   at require (module.js:370:17)
   at Object.<anonymous> (/home/dmuth/tmp/grumdig/node-sqlite/sqlite.js:26:16)
   at Module._compile (module.js:441:26)
   at Object..js (module.js:459:10)
   at Module.load (module.js:348:31)
   at Function._load (module.js:308:12)

I've verified that the file is in fact there:

dmuth@ip-10-245-23-31:~/tmp/grumdig/node-sqlite (master) $ ls -l build/default/sqlite3_bindings.node
-rwxrwxr-x 1 dmuth dmuth 134201 2012-02-10 16:30 build/default/sqlite3_bindings.node

Any suggestions?

Thanks,

-- Doug


Reply to this email directly or view it on GitHub:
#4