Skip to content

Libray validation failing on Mac OSX app #301

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

Closed
derek-baxter opened this issue Jun 1, 2020 · 1 comment
Closed

Libray validation failing on Mac OSX app #301

derek-baxter opened this issue Jun 1, 2020 · 1 comment

Comments

@derek-baxter
Copy link

This never happened before but all of a sudden I am now getting this error when running my complied Mac osx application:

java.lang.UnsatisfiedLinkError: /private/var/folders/0f/trlp6tp95qjbzm99ds8pt8zm0000gp/T/1590983115354-libjSerialComm.jnilib: dlopen(/private/var/folders/0f/trlp6tp95qjbzm99ds8pt8zm0000gp/T/1590983115354-libjSerialComm.jnilib, 1): no suitable image found.  Did find:
	/private/var/folders/0f/trlp6tp95qjbzm99ds8pt8zm0000gp/T/1590983115354-libjSerialComm.jnilib: code signature in (/private/var/folders/0f/trlp6tp95qjbzm99ds8pt8zm0000gp/T/1590983115354-libjSerialComm.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.

Is it possible to include the native libjSerialComm.jnilib and manually point to where it's located?

@hedgecrw
Copy link
Contributor

This seems related to this issue: opencv/opencv#15645

Please check that out and see if you are able to solve the problem. There is no way to manually specify the native library location.

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