Looks like some misunderstand happened in this thread. If you need static-linker executable that does not rely on system libraries, you should use
$> ./configure $> make & sudo make install Node.js builds statically by default. "undefined symbol: ev_default_loop_ptr" error message may be in case you use different node version installed and that was installed when you compile LDAP module. Node addons are not binary compatible across 0.4-0.6-0.8 node versions. пятница, 20 июля 2012 г., 20:44:09 UTC+4 пользователь 文冰华佗 написал: > > 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 > > Puzzle~~~~ > -- 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
