Giter VIP home page Giter VIP logo

node-cryptonight-lite's People

Contributors

excitableaardvark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-cryptonight-lite's Issues

node: symbol lookup error: .../node_modules/node-cryptonight-lite/build/Release/cryptonightLite.node: undefined symbol: oaes_alloc

Install and compilation apparently succeeds, but invoking the module crashes program.

bookchin@thinkpad ~                                                                                                                         [11:24:31] 
> $ uname -a                                                                                                                                  ⬡ 8.9.4 
Linux thinkpad 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux
                                                                                                                                                       
bookchin@thinkpad ~                                                                                                                         [11:24:42] 
> $ lsb_release -d                                                                                                                            ⬡ 8.9.4 
Description:	Debian GNU/Linux unstable (sid)
                                                                                                                                                       
bookchin@thinkpad ~                                                                                                                         [11:24:53] 
> $ node --version                                                                                                                            ⬡ 8.9.4 
v8.9.4
          
bookchin@thinkpad ~/Code/kadence                                                                                                           [11:10:33] 
> $ npm install node-cryptonight-lite                                                                                             ⬡ 8.9.4 [±master ●]

> [email protected] install /home/bookchin/Code/kadence/node_modules/node-cryptonight-lite
> node-gyp rebuild

make: Entering directory '/home/bookchin/Code/kadence/node_modules/node-cryptonight-lite/build'
  CXX(target) Release/obj.target/cryptonightLite/lib/cryptonight-lite.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/aesb.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/blake256.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/chacha8.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/crypto-ops-data.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/crypto-ops.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/groestl.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/hash-extra-blake.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/hash-extra-groestl.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/hash-extra-jh.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/hash-extra-skein.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/hash.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/jh.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/keccak.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/skein.o
  CC(target) Release/obj.target/cryptonightLite/lib/vendor/slow-hash.o
  SOLINK_MODULE(target) Release/obj.target/cryptonightLite.node
  COPY Release/cryptonightLite.node
make: Leaving directory '/home/bookchin/Code/kadence/node_modules/node-cryptonight-lite/build'
+ [email protected]
updated 1 package in 19.093s
                                                                                                                                                                                                                                                                                                          
bookchin@thinkpad ~/Code/kadence                                                                                                           [11:17:39] 
> $ node                                                                                                                          ⬡ 8.9.4 [±master ●]
> const cryptonight = require('node-cryptonight-lite');
undefined
> const buffer = Buffer.from('test');
undefined
> const hash = cryptonight.hash(buffer)
node: symbol lookup error: /home/bookchin/Code/kadence/node_modules/node-cryptonight-lite/build/Release/cryptonightLite.node: undefined symbol: oaes_alloc

Strangely, I don't have this problem on another machine running Debian Sid (though this machine was recently upgraded).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.