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.lang.UnsatisfiedLinkError: dlopen failed: "ibswresample.so" is 32-bit instead of 64-bit #467

Closed
elyonsaber opened this issue Jul 27, 2016 · 3 comments

Comments

@elyonsaber
Copy link

elyonsaber commented Jul 27, 2016

After using ReLinker, I was able to install and run JavaCv 1.2 on some devices in project A.
But for the devices that failed to run JavaCv 1.1 before, 1.2 still doesn't work well. I got error like this
huawei
CPU info of devices that reports error:
huaweicpu
minotecpu
JavaCPP is updated to 1.2.2 version.

Further more, I am confused that I have another project B also uses JavaCv 1.2, and it could works well on every device including XM Note and HuaWei that was unable to use JavaCv in project A .
build.gradle of project A:
gradlenotwork
build.gradle of project B:
gradlework
So does it matter with different sdkVersion in different project? Thanks!

@saudet
Copy link
Member

saudet commented Jul 27, 2016

Ah, so you have devices that don't support 32-bit binaries. We'll need to build 64-bit binaries for those: bytedeco/javacpp-presets#52

@elyonsaber
Copy link
Author

I checked all dependencies in my project, and the issue is occurred by Fresco. Fresco has library built for 64 bit architecture, and then the system will look for a 64 bit version of each other library. Since JavaCv don't have 64 bit binaries, the system will report error. I think it is similar to this. Hope it will help others!

@saudet
Copy link
Member

saudet commented Feb 27, 2018

64-bit builds for Android (as the "android-arm64" and "android-x86_64" platforms) are now available, so please give it a try! Binaries for 1.4.1-SNAPSHOT can be downloaded from the snapshot repository: http://bytedeco.org/builds/

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

2 participants