c++ - How to include all I need in my .node to be standalone ? - Node.js -
i want build node.js c++ addons use poppler library.
for now, able build .node on system, want standalone pre-compiled any-platform.
on linux build ok & can require it, on linux crash when require error:
error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `glibcxx_3.4.20' not found (required /applis/istex/home/test/popplonode.node) @ object.module._extensions..node (module.js:602:18) @ module.load (module.js:507:32) @ trymoduleload (module.js:470:12) @ function.module._load (module.js:462:3) @ module.require (module.js:517:17) @ require (internal/module.js:11:18) @ repl:1:15 @ contextifyscript.script.runinthiscontext (vm.js:44:33) @ replserver.defaulteval (repl.js:239:29) @ bound (domain.js:301:14) how standalone requirements in ?
this repo, try clone & use nom install (work on node 8.4) https://github.com/matthd/popplonode/blob/master/readme.md
thanks
Comments
Post a Comment