Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: sodium_init Error on ARM64 RasberryPi #582

Open
iaj2 opened this issue Aug 5, 2023 · 1 comment
Open

undefined symbol: sodium_init Error on ARM64 RasberryPi #582

iaj2 opened this issue Aug 5, 2023 · 1 comment
Labels

Comments

@iaj2
Copy link

iaj2 commented Aug 5, 2023

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

  • RasberyPi ARM64
  • ZeroMQ.js version: 6.0.0-beta1.17
  • Linux edgepi-r4p87y 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Raspbian os on Debian GNU/Linux 11 (bullseye)
  • Node v16.20.0
@iaj2 iaj2 added the bug label Aug 5, 2023
@Dogster6
Copy link

Dogster6 commented Aug 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants