Sodium Native Error on Mac OSX
See original GitHub issueI am reporting:
Bug Report
Please give us details about your installation to assist you. Run dat -v
to see the version of Dat you are using.
- Operating system: Mac OS 10.8.5
- Node Version: v10.15.3
- Dat Version: dat@13.13.0
Expected behavior
Actual behavior
Running dat share ne
generates errors:
→ dat share ne
dyld: lazy symbol binding failed: Symbol not found: _memset_s
Referenced from: /Users/dmitrizaitsev/.npm-global/lib/node_modules/dat/node_modules/sodium-native/prebuilds/darwin-x64/libsodium.dylib
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _memset_s
Referenced from: /Users/dmitrizaitsev/.npm-global/lib/node_modules/dat/node_modules/sodium-native/prebuilds/darwin-x64/libsodium.dylib
Expected in: /usr/lib/libSystem.B.dylib
Trace/BPT trap: 5
Debug Logs
→ DEBUG=dat* dat share ne
dat Dat DEBUG mode engaged, enabling quiet mode +0ms
dat dat 13.13.0 +7ms
dat node v10.15.3 +0ms
dat Sharing archive { _: [ 'ne' ],
utp: true,
debug: false,
quiet: true,
sparse: false,
import: true,
ignoreHidden: true,
'ignore-hidden': true,
watch: true,
logspeed: 400,
dir: 'ne' } +0ms
dyld: lazy symbol binding failed: Symbol not found: _memset_s
Referenced from: /Users/dmitrizaitsev/.npm-global/lib/node_modules/dat/node_modules/sodium-native/prebuilds/darwin-x64/libsodium.dylib
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _memset_s
Referenced from: /Users/dmitrizaitsev/.npm-global/lib/node_modules/dat/node_modules/sodium-native/prebuilds/darwin-x64/libsodium.dylib
Expected in: /usr/lib/libSystem.B.dylib
Trace/BPT trap: 5
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Sodium Native Error on Mac OSX · Issue #1110 - GitHub
Run dat -v to see the version of Dat you are using. Operating system: Mac OS 10.8.5; Node Version: v10.15.3; Dat Version: dat@13.13.0 ......
Read more >sodium-native - npm
Start using sodium-native in your project by running `npm i sodium-native`. There are 188 other projects in the npm registry using ...
Read more >Can't install node-sodium on Windows - Stack Overflow
I chose Sodium as the encryption package, but I'm having difficulties when it comes to installing it. I tried setting my VS version...
Read more >How to Contribute - Blitz.js
(Optional, macOS only) Install required packages for sodium-native. If you spot any issues related to sodium-native , run the following command to fix...
Read more >How to fix EACCES errors with NPM on MacOS - WILL & SKILL
There are times when You get an ugly EACCES error message from NPM when You try to install an ... Faisals-Mac:Code faisal$ npm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dmitriz It’s not as much about Apple as it is an update to your standard library. It may be possible to do on your own without upgrading the OS, but I don’t know how. Sometimes you also have to assume so basic level of support 😃 The function in question is a secure way to wipe sensitive material and we can’t support systems that don’t have it.
memset_s
was introduced with the C11 standardEverything is back to normal now. https://github.com/sodium-friends/sodium-native-citgm