Undefined Symbol

71 views
Skip to first unread message

Abu sesay

unread,
Apr 27, 2012, 10:33:43 PM4/27/12
to nod...@googlegroups.com
Running Linux Fedora 15 (node is ran as nodejs)

Attempting to follow the tutorial on this site: http://simonwillison.net/2009/Nov/23/node/

Results in the following error:  

[abu@Beelzebub node_projects]$ nodejs helloworld.js
Server running at http://127.0.0.1:8080
nodejs: symbol lookup error: nodejs: undefined symbol: _ZN2v82V816IdleNotificationEv

helloworld.js
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');

mscdex

unread,
Apr 28, 2012, 2:11:49 AM4/28/12
to nodejs
On Apr 27, 10:33 pm, Abu sesay <aise...@gmail.com> wrote:
> Running Linux Fedora 15 (node is ran as nodejs)

FWIW you're better off just compiling the latest stable version from
source from nodejs.org and using that instead. Node is still evolving
at a fairly regular pace and because of that some distros have old
(some older than others) versions of node in their package
repositories.

> Attempting to follow the tutorial on this site:http://simonwillison.net/2009/Nov/23/node/

That tutorial is from 2009. A *lot* has changed since then, including
the API.

If you want resources for more recent versions of node:
http://nodebeginner.org/
http://nodetuts.com/
http://nodeguide.com/
http://howtonode.org/
Reply all
Reply to author
Forward
0 new messages