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

Cannot use DIDKit in unit tests. Cannot load libdidkit.so. #332

Open
SametSahin10 opened this issue Aug 26, 2022 · 1 comment
Open

Cannot use DIDKit in unit tests. Cannot load libdidkit.so. #332

SametSahin10 opened this issue Aug 26, 2022 · 1 comment

Comments

@SametSahin10
Copy link

Hello, I'm exploring the codebase. I saw that you have some unit tests that you call DIDKit in. When I try to call DIDKit in unit tests of the app I'm working on, I get an error that says:

Invalid argument(s): Failed to load dynamic library 'libdidkit.so': libdidkit.so: cannot open shared object file: No such file or directory

I'm able to use DIDKit while the app is running. I get the error only on tests. How do you use DIDKit in unit tests?

@hawkbee1
Copy link
Collaborator

hawkbee1 commented Sep 3, 2022

Hello,
You're right, so far we were not able to use DIDKit in tests and non physical devices. Looks like that's an FFI issue that we don't understand.

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