-
Notifications
You must be signed in to change notification settings - Fork 508
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
dyld: lazy symbol binding failed: Symbol not found #16
Comments
Fixed in node 0.4.7. |
Huzzah! :) |
I am using bcrypt 3.0.1 and node 8.9.3 version and I get the error as stated above. `dyld: lazy symbol binding failed: Symbol not found :__ZN4node19GetCurrentEventLoopEPN2v87IsolateE Referenced from: /Users/local/WebstormProjects/be/node_modules/bcrypt/lib/binding/bcrypt_lib.node dyld: Symbol not found: __ZN4node19GetCurrentEventLoopEPN2v87IsolateE |
@dujra Try recompiling the addon. |
@agathver Thank you! This worked for me! |
Worked for me as well! thanks! |
This is happening for me with node 8.2.1 and bcrypt 3.0.2. I was able to fix it locally by recompiling as suggested by @agathver but that's not an option for me in production so I had to downgrade bcrypt. |
Hey @andrewaarestad, which version of bcrypt worked for you? Thanks man! |
@gastonelhordoy I haven't had any issues after downgrading to bcrypt 3.0.0. |
Thanks @andrewaarestad, it worked! |
@agathver thanks for the command. Any insight into why running this command fixes the error? Worked for me using |
@andrewaarestad I tried downgrading to 3.0.0 but still had the same problem (Node v8.9.4). Running Regards all |
npm rebuild bcrypt --build-from-source worked for me as well but can anyone explain me why and how is it working |
@pk1210 There was an ABI incompatibility between 8.X releases. You have to recompile from sources in order to bind to the correct symbols, if you are on the affected versions. |
Refactor build process and project to support Heroku deployment * set up heroku build * add heroku postbuild * Updating package * add webpack config * set prod db * update build process to use distribution folder * Add node engines to package.json * Refactor to serve up react app via express static * set up port proxy * bump node version to fix bcrypt issue - kelektiv/node.bcrypt.js#16 * update cors whitelist * Add port configuration * Add Heroku link to README * Clean up old scripts
Worked for me! Thanks |
September 2019 and @agathver solution |
@agathver Worked for me as well! Thanks :) |
bcrypt native gave runtime errors on login: dyld: lazy symbol binding failed: Symbol not found According to kelektiv/node.bcrypt.js#16 one has to build brypt localy via npm rebuild bcrypt --build-from-source So temporarly removing it.
I forgot to |
I just updated node to the latest version 13.x and that solved it for me :) |
I'm running this module on OSX 10.6.6, node.js v0.4.1, with bcrypt installed by 'npm install bcrypt'.
When I
require('bcrypt')
, I get these messages:The text was updated successfully, but these errors were encountered: