zeromq / zeromq.js

:zap: Node.js bindings to the ØMQ library
http://zeromq.github.io/zeromq.js/
MIT License
1.45k stars 209 forks source link

undefined symbol: sodium_init Error on ARM64 RasberryPi #582

Open iaj2 opened 1 year ago

iaj2 commented 1 year ago

Running anything with zeromq on ARM64 rasberrypi throws the following error:

node: symbol lookup error: /home/user/test_zmq/node_modules/zeromq/build/Release/zeromq.node: undefined symbol: sodium_init

Npm install of zeromq on completes without error but there seems to be an issue linking with libsodium.

Reproducing Install of zeromq:

npm install zeromq@6.0.0-beta1.17

Running a simple program:

const zmq = require('zeromq');

let a = new zmq.Context()

Tested on

Dogster6 commented 1 year ago

I have the same issue. I can't find a solution yet but I will update when I do.