MediaInfo broken on Raspberry Pi

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
User avatar
rednoah
The Source
Posts: 19133
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

MediaInfo broken on Raspberry Pi

Post by rednoah »

If you have installed FileBot via apt then FileBot may be unable to load the libjnidispatch.so system library due to a bug in the libjna-java Debian package:
https://www.filebot.net/linux/apt.html

Code: Select all

$ filebot -script fn:sysinfo
...
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path (/usr/share/filebot/jar/filebot.jar)
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
...

:arrow: You may be able to work around the issue by setting the jna.nosys system property like so:

Code: Select all

filebot -script fn:properties --def jna.nosys=false

:!: This issue primary affects armhf and aarch64 arch devices running a Debian-based OS, e.g. Raspberry Pi.
:idea: Please read the FAQ and How to Request Help.
Post Reply