On Wed, Sep 26, 2012 at 6:01 PM, NodeNinja <[email protected]> wrote: > I am trying to build this https://github.com/substack/node-bigint module on > linux > I was previously built with node-waf but I am trying to build it with > node-gyp to use in on the most recent versions of node. > > I have a bindings.gyp file as under. > > { > "targets": [ > { > "target_name": "bigint", > "sources": [ "bigint.cc" ] > } > ] > } > > However with this file the module builds successfuly but I don't think it is > linked to libgmp that it needs to function correctly. > How do link libgmp to that module. > > I have installed gmp5.0.5 on my linux system but I don't seem to find it in > usr/bin; usr/local/bin etc.
'libraries': ['-lgmp'] should do it. -- 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
