excitableaardvark / node-cryptonight-lite Goto Github PK
View Code? Open in Web Editor NEWnode bindings for cryptonight-lite hashing
Home Page: https://aeon.wiki/Node-cryptonight-lite
License: BSD 3-Clause "New" or "Revised" License
node bindings for cryptonight-lite hashing
Home Page: https://aeon.wiki/Node-cryptonight-lite
License: BSD 3-Clause "New" or "Revised" License
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.