-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unhandled Exception: Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, argon2_hash): symbol not found) #2
Comments
Hey, what platform are you trying to run on and are you using this plugin or the dargon2_flutter plugin? It seems like you have a flutter app. If so, you should be using the dargon2_flutter plugin as the normal C library loading doesn't work with mobile devices and flutter apps need to handle library loading differently. |
Closing due to inactivity. Please reopen if needed |
Hey @tmthecoder, thanks a lot for the library but I am also facing the same error when building to the iOS simulator running on MacOS using Visual Studio Code. The same code works on Windows for the Android simulator but I'm getting this error message on the MacOS. Thank you! |
@ThamMK What is the deploy platform? Are you deploying to macOS or building an iOS app on a Mac device? Either way, the plugin should be supported on all platforms. If you encounter a lookup error, try initializing it like it mentions on the README for the isolate-specific initialization or the pre Flutter 2.8 |
Is this app using Swift or Objective C? |
It's using Swift |
If you build for Android on that same Mac, does it work? |
@ThamMK I was able to reproduce this after a bit of messing with Flutter & iOS Apps. I found the issue to be weird since it wasn't present prior to Flutter 3. Though, my fix was adding: |
Thanks for the fix, I'll give it a try when I have the chance to test it out as at the moment we have switched to a different argon2 package. |
@ThamMK Any word on this? I'll close if not. |
@tmthecoder Works for me |
Works for me as well. Maybe this should be added to the installation instructions? |
Great library, thank you for your contribution.
I encountered the following error when using it, what should I do?
The text was updated successfully, but these errors were encountered: