>Number: 157875 >Category: misc >Synopsis: Ports node.js fails build of native modules with Undefined >Symbol >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 14 14:20:15 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Brett Kiefer >Release: 8.2 >Organization: Fog Creek Software >Environment: FreeBSD trellis-build.hq.fogcreek.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When building native npm packages with a node.js built from /usr/ports/www/node, and a v8 built from /usr/ports/lang/v8, running gives a an Undefined symbol "_ZN2v811HandleScopeC1Ev". >How-To-Repeat: This is an example using the 'hiredis' package, but any npm module that builds a native package should have the same effect (I get the same thing with 'node-mongodb-native' and 'forever').
Install node from /usr/ports/www/node. Then: $ cd ~ $ curl http://npmjs.org/install.sh | sudo sh $ npm install hiredis $ node reader.js /libexec/ld-elf.so.1: /usr/home/brett/node_modules/hiredis/build/default/hiredis.node: Undefined symbol "_ZN2v811HandleScopeC1Ev" >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
