Hello,
I´m getting this error on Odroid C2 Ubuntu 16.04.02 LTS (aarch64)
FileBot 4.7.9 (r4984)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path ([file:/usr/share/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: /usr/share/filebot/lib7-Zip-JBinding.so: /usr/share/filebot/lib7-Zip-JBinding.so: wrong ELF class: ELFCLASS32
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 415 MB Max Memory / 9 MB Used Memory
OS: Linux (aarch64)
Package: DEB
uname: Linux odroid64 3.14.79-113 #1 SMP PREEMPT Wed May 10 00:43:15 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
I have installed Oracle JDK and deb package:
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo dpkg -i filebot_4.7.9_armhf.deb
What am I doing wrong?
Thank you for the support.
Gregorio Martinez.
[ARM] JNA Native: java.lang.UnsatisfiedLinkError
Re: JNA Native: java.lang.UnsatisfiedLinkError
aarch64 is a pretty rare architecture. Unfortunately, I don't have binaries for 64-bit ARM Linux. You might find binaries for JNA but you for MediaInfo you'll probably have to compile it yourself.
EDIT:
You can ask the MediaInfo developers for full 1st class support for armv7 and aarch64 architectures. They quoted me 1.500 EUR for this kind of professional service (which is quite reasonable).
EDIT:
You can ask the MediaInfo developers for full 1st class support for armv7 and aarch64 architectures. They quoted me 1.500 EUR for this kind of professional service (which is quite reasonable).

Re: JNA Native: java.lang.UnsatisfiedLinkError
Thank you for your support!
Gregorio Martínez.
Gregorio Martínez.
Re: JNA Native: java.lang.UnsatisfiedLinkError
But there are packages for mediainfo in arm64 for Ubuntu 16.04:
https://packages.ubuntu.com/search?arch ... =mediainfo
What about JNA? I have found nothing about it in arm64
Thank you in advance,
Gregorio Martinez.
https://packages.ubuntu.com/search?arch ... =mediainfo
What about JNA? I have found nothing about it in arm64
Thank you in advance,
Gregorio Martinez.
Re: JNA Native: java.lang.UnsatisfiedLinkError
Hello,
I have fixed the problem of the JNA and mediainfo just copiing the libjnidispatch.so to the Filebot dir (/usr/share/filebot in my case). Maybe there is a problem with the .deb for arm64?
The problem with 7-Zip JBinding continues. Any idea?
odroid@odroid64:/usr/share/filebot$ filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.82
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: /usr/share/filebot/lib7-Zip-JBinding.so: /usr/share/filebot/lib7-Zip-JBinding.so: wrong ELF class: ELFCLASS32
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 415 MB Max Memory / 11 MB Used Memory
OS: Linux (aarch64)
Package: DEB
uname: Linux odroid64 3.14.79-113 #1 SMP PREEMPT Wed May 10 00:43:15 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
I have fixed the problem of the JNA and mediainfo just copiing the libjnidispatch.so to the Filebot dir (/usr/share/filebot in my case). Maybe there is a problem with the .deb for arm64?
The problem with 7-Zip JBinding continues. Any idea?
odroid@odroid64:/usr/share/filebot$ filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.82
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: /usr/share/filebot/lib7-Zip-JBinding.so: /usr/share/filebot/lib7-Zip-JBinding.so: wrong ELF class: ELFCLASS32
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 415 MB Max Memory / 11 MB Used Memory
OS: Linux (aarch64)
Package: DEB
uname: Linux odroid64 3.14.79-113 #1 SMP PREEMPT Wed May 10 00:43:15 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Re: JNA Native: java.lang.UnsatisfiedLinkError
You have an aarch64 CPU so amd64 binaries won't work.
Re: JNA Native: java.lang.UnsatisfiedLinkError
Hello,
aarch64 is the same as arm64. I'm not telling nothing about amd64.
Is there any solution form 7-Zip-Binding for arm64?. What impact will have is 7-Zip-Binding dll is not working?
Thank you in advance,
Gregorio Martinez.
aarch64 is the same as arm64. I'm not telling nothing about amd64.
Is there any solution form 7-Zip-Binding for arm64?. What impact will have is 7-Zip-Binding dll is not working?
Thank you in advance,
Gregorio Martinez.
Re: JNA Native: java.lang.UnsatisfiedLinkError
1.
There is no armv8 / aarch64 / arm64 debian package. aarch64 (ARM) is completely different from amd64 (Intel / AMD) and not even remotely binary compatible, so you can't use the debian package on ARM devices.
2.
I recommend using the portable package on ARM devices where the 7-Zip-JBinding is replaced with a platform-independent implementation.
There is no armv8 / aarch64 / arm64 debian package. aarch64 (ARM) is completely different from amd64 (Intel / AMD) and not even remotely binary compatible, so you can't use the debian package on ARM devices.
2.
I recommend using the portable package on ARM devices where the 7-Zip-JBinding is replaced with a platform-independent implementation.