GlobalsDB / Contributions

Feel free to share with the Globals Community
http://GlobalsDB.org/
10 stars 4 forks source link

Symbol not found on Mac OSX and node v.0.8.20 #2

Open rhasson opened 11 years ago

rhasson commented 11 years ago

Trying to simply load cache061.node directly from the /bin directory gives this error:

process.version 'v0.8.20'

g = require('./cache061.node') Error: dlsym(0x1024007f0, init): symbol not found at Object.Module._extensions..node (module.js:485:11) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) at require (module.js:378:17) at repl:1:6 at REPLServer.self.eval (repl.js:109:21) at Interface. (repl.js:248:12) at Interface.EventEmitter.emit (events.js:96:17) at Interface._onLine (readline.js:200:10)

Trying to load cache.node directly from /bin gets a little further but fails to open the database

r = require('./cache.node') { Cache: [Function: Cache] }

c = new r.Cache() {} c.open({path: '/User/roy/Projects/GlobalsDB/mgr',username: '_SYSTEM',password: 'SYS',namespace: 'USER'}) dyld: lazy symbol binding failed: Symbol not found: __ZNK2v85Value11IsUndefinedEv Referenced from: /Users/roy/Projects/GlobalsDB/bin/cache.node Expected in: flat namespace

dyld: Symbol not found: __ZNK2v85Value11IsUndefinedEv Referenced from: /Users/roy/Projects/GlobalsDB/bin/cache.node Expected in: flat namespace

Any help would be appreciated.

Thanks, Roy

GlobalsDB commented 11 years ago

Roy,

I'm sorry that you are receiving this error, but unfortunately this error is correct. The currently released version of Globals only supports Node.js up to version 0.6.x.

Please refer to my Forums posting on the GlobalsDB.org website for additional details: http://globalsdb.org/forum/topic/126/?page=1#post-1259

We have already added the functionality to support Node.js version 0.8.x, and this Globals release should be available in the not too distant future.

Thank you for your inquiry; I hope you find this information helpful.

Cheers, Michael Pantaleo Product Specialist - Globals

On 2/18/2013 3:31 PM, Roy Hasson wrote:

Trying to simply load cache061.node directly from the /bin directory gives this error:

process.version 'v0.8.20'

g = require('./cache061.node') Error: dlsym(0x1024007f0, init): symbol not found at Object.Module._extensions..node (module.js:485:11) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) at require (module.js:378:17) at repl:1:6 at REPLServer.self.eval (repl.js:109:21) at Interface. (repl.js:248:12) at Interface.EventEmitter.emit (events.js:96:17) at Interface._onLine (readline.js:200:10)

Trying to load cache.node directly from /bin gets a little further but fails to open the database

r = require('./cache.node') { Cache: [Function: Cache] }

c = new r.Cache()
{}
c.open({path: '/User/roy/Projects/GlobalsDB/mgr',username:
'_SYSTEM',password: 'SYS',namespace: 'USER'})
dyld: lazy symbol binding failed: Symbol not found:
__ZNK2v85Value11IsUndefinedEv
Referenced from: /Users/roy/Projects/GlobalsDB/bin/cache.node
Expected in: flat namespace

dyld: Symbol not found: __ZNK2v85Value11IsUndefinedEv Referenced from: /Users/roy/Projects/GlobalsDB/bin/cache.node Expected in: flat namespace

Any help would be appreciated.

Thanks, Roy

— Reply to this email directly or view it on GitHub https://github.com/GlobalsDB/Contributions/issues/2.

rhasson commented 11 years ago

Thanks Michael.

When do you expect the update to be released? Also, will it ever be open sourced given that GlobalsDB is open source as well? It would make for a much more robust client with the help of the community.

Thanks, Roy