change -static into -rdynamic does works well, *BUT* my server in prod, only could use static executable node, no dynamic lib need. that is the point...
On Saturday, July 21, 2012 7:12:24 AM UTC+8, Ben Noordhuis wrote: > > On Fri, Jul 20, 2012 at 6:44 PM, 文冰华佗 <[email protected]> wrote: > > I find nodejs module [email protected], use it, works great. > > > > but my prod env need static complie node, so...I compile nodejs --static > > > > ldd /usr/local/bin/node > > not a dynamic executable > > > > run server... > > Error: /home/mars/node_modules/LDAP/build/Release/LDAP.node: undefined > > symbol: ev_default_loop_ptr, node was compiled --static > > > > if nodejs compiled dynamicly, LDAP module works well, very very well > > Maybe add -rdynamic? > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
