更新——Linux FEDORA 15
遵循以下示例:
http://simonwillison.net/2009/Nov/23/node/
我的代码:
var util = require('util'),
http = require('http');
http.createServer(function(req, res) {
res.sendHeader(200, {'Content-Type': 'text/html' });
res.sendBody('<h1>Hello World</h1>');
res.finish();
}).listen(8080);
util.puts('Server running at http://127.0.0.1:8080');
产生以下错误:
[abu@Beelzebub node_projects]$ nodejs helloworld.js
Server running at http://127.0.0.1:8080
nodejs: symbol lookup error: nodejs: undefined symbol: _ZN2v82V816IdleNotificationEv