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

Java library path problem #69

Closed
waldemarnt opened this issue Dec 15, 2014 · 6 comments
Closed

Java library path problem #69

waldemarnt opened this issue Dec 15, 2014 · 6 comments

Comments

@waldemarnt
Copy link
Contributor

Im getting this problem when i use the javacv with maven, i searched a lot in the internet, have a lot of people with the same problem but have no solution.
You can help me?
(my environment is a debian x64)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)

@paksv
Copy link

paksv commented Dec 16, 2014

it means there's no jniopencv_core.so in system path or native library path.

@saudet
Copy link
Member

saudet commented Dec 17, 2014

Have you tried to call Maven with the -Dplatform.dependencies command line option?

@waldemarnt
Copy link
Contributor Author

maybe the problem is my lib missing libjniopencv_core.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found, but this libc6 stable version in debian is 2.13, to upgrade to 2.14 we need to use a unstable version, it's really not good ...

@paksv
Copy link

paksv commented Dec 17, 2014

Try using System.load("") before calling the javacv code.

@waldemarnt
Copy link
Contributor Author

work's, http://unix.stackexchange.com/a/149627 this is a google example for all

@saudet
Copy link
Member

saudet commented Dec 21, 2014

Sounds like this is related to bytedeco/javacpp-presets#22.

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

No branches or pull requests

3 participants