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

Binary not working with AdoptOpenJDK #41

Closed
rishabhpoddar opened this issue Sep 29, 2020 · 2 comments
Closed

Binary not working with AdoptOpenJDK #41

rishabhpoddar opened this issue Sep 29, 2020 · 2 comments
Labels
bug Something isn't working low priority Low priority issue

Comments

@rishabhpoddar
Copy link
Contributor

rishabhpoddar commented Sep 29, 2020

This issue is thanks to @mmaha

Even with the correct version, we get the following error:

io.supertokens.test.ShutdownTest > shutdownSignalTest STANDARD_OUT
    ----------DELETE ALL INFORMATION----------
    Process ID: 9f5c5125-18e1-4e1e-94c4-1ebde3c1af62

io.supertokens.test.ShutdownTest > shutdownSignalTest STANDARD_ERROR
    Failed to load native library:sqlite-3.30.1-bed70ca4-76c6-4354-a16f-f4c8b4da2104-libsqlitejdbc.jnilib. osinfo: Mac/x86_64
    java.lang.UnsatisfiedLinkError: /private/var/folders/z_/__5pkjcd3018c15c6w15fq4h0000gn/T/sqlite-3.30.1-bed70ca4-76c6-4354-a16f-f4c8b4da2104-libsqlitejdbc.jnilib: dlopen(/private/var/folders/z_/__5pkjcd3018c15c6w15fq4h0000gn/T/sqlite-3.30.1-bed70ca4-76c6-4354-a16f-f4c8b4da2104-libsqlitejdbc.jnilib, 1): no suitable image found.  Did find:
        /private/var/folders/z_/__5pkjcd3018c15c6w15fq4h0000gn/T/sqlite-3.30.1-bed70ca4-76c6-4354-a16f-f4c8b4da2104-libsqlitejdbc.jnilib: code signature in (/private/var/folders/z_/__5pkjcd3018c15c6w15fq4h0000gn/T/sqlite-3.30.1-bed70ca4-76c6-4354-a16f-f4c8b4da2104-libsqlitejdbc.jnilib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
    Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V

However, things work just fine with OpenJDK

@rishabhpoddar rishabhpoddar added low priority Low priority issue bug Something isn't working labels Sep 29, 2020
@SanketDG
Copy link

Related: adoptium/temurin-build#1211

@rishabhpoddar
Copy link
Contributor Author

We don't need to get it to work with a different SDK since we bundle the JRE OF OpenJDK along with the JARs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Low priority issue
Projects
None yet
Development

No branches or pull requests

2 participants