Date: Tue, 14 Jun 2011 14:16:41 GMT From: Brett Kiefer <brett@fogcreek.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/157875: Ports node.js fails build of native modules with Undefined Symbol Message-ID: <201106141416.p5EEGfbJ007543@red.freebsd.org> Resent-Message-ID: <201106141420.p5EEKFX0045273@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 root@mason.cse.buffalo.edu:/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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106141416.p5EEGfbJ007543>