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

Argon2 - errors in dune utop: undefined symbol: argon2_type2string #13

Open
MarcCoquand opened this issue Mar 2, 2024 · 2 comments
Open

Comments

@MarcCoquand
Copy link

MarcCoquand commented Mar 2, 2024

Heya, I'm having issues running argon2 when in utop mode. Running it normally does not cause any issues.

The error I get is

Fatal error: exception Dl.DL_error("/folders/lib/ocaml/5.1.1/site-lib/stublibs/dllctypes_foreign_stubs.so: undefined symbol: argon2_type2string")
Raised at Dl._report_dl_error in file "src/ctypes-foreign/dl.ml.unix", line 44, characters 20-44
Called from Ctypes_foreign_basis.Make.foreign in file "src/ctypes-foreign/ctypes_foreign_basis.ml", line 47, characters 19-47
Re-raised at Ctypes_foreign_basis.Make.foreign in file "src/ctypes-foreign/ctypes_foreign_basis.ml", line 49, characters 50-59
Called from Argon2.Kind.argon2_type2string in file "lib/user/password/argon2/argon2.ml", line 26, characters 4-104

Any clue what might be wrong? I am using the latest argon2 bindings in this repo manually imported.

@Khady
Copy link
Owner

Khady commented Mar 10, 2024

I think it is related to #7, there's a similar issue in opam's CI

@Khady
Copy link
Owner

Khady commented Mar 18, 2024

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

No branches or pull requests

2 participants