Hi Oleg any help would be appreciated as none of the suggestions currently seems to work. It build correctly but if you run the a test using the lib you get.
parallels@parallels-Parallels-Virtual-Platform:~/coding/checkouts/node-psutil$ nodeunit test/networkstat_test.js
module.js:485
process.dlopen(filename, module.exports);
^
Error: /home/parallels/coding/checkouts/node-psutil/build/Release/psutil_lib_osx.node: undefined symbol: _ZTV6Worker
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 Object.<anonymous> (/home/parallels/coding/checkouts/node-psutil/lib/psutil.js:1:79)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Meaning the g++ linker is doing something differently. Also if I do nm on the .node library that reference shows up as undefined.