SystemInfo initialization error on Pine64

Hi,

I ahve updated my virtualized Ubuntu 18.0.4 with apt-get update. Now the system info binding is also not working anymore:

Unable to load library 'udev': Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.2.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.2.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.2.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.2.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar

How can I fix this?

best regards René

I also have issues with this binding but on Intel NUC. Can anyone help?

2019-09-08 19:01:57.902 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler@12a6d11': Unable to load library 'udev':
libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
/usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
/lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
java.lang.UnsatisfiedLinkError: Unable to load library 'udev':
libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
/usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
/lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302) ~[?:?]
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
        at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
        at com.sun.jna.Native.load(Native.java:596) ~[?:?]
        at com.sun.jna.Native.load(Native.java:570) ~[?:?]
        at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
        at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
        at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
        at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
        at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
        at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: /lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:235) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.io.IOException: Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
                at com.sun.jna.Native.extractFromResourcePath(Native.java:1095) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
2019-09-08 19:01:58.160 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'systeminfo:computer:work': Unable to load library 'udev':
libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
/usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
/lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
java.lang.UnsatisfiedLinkError: Unable to load library 'udev':
libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
/usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
/lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302) ~[?:?]
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
        at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
        at com.sun.jna.Native.load(Native.java:596) ~[?:?]
        at com.sun.jna.Native.load(Native.java:570) ~[?:?]
        at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
        at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
        at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
        at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
        at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
        at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: libudev.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/libudev.so: niewłaściwa klasa ELF: ELFCLASS64
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: /lib/x86_64-linux-gnu/libudev.so.1.6.4: niewłaściwa klasa ELF: ELFCLASS64
                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:235) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]
        Suppressed: java.io.IOException: Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)
                at com.sun.jna.Native.extractFromResourcePath(Native.java:1095) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.Library$Handler.<init>(Library.java:192) ~[?:?]
                at com.sun.jna.Native.load(Native.java:596) ~[?:?]
                at com.sun.jna.Native.load(Native.java:570) ~[?:?]
                at oshi.jna.platform.linux.Udev.<clinit>(Udev.java:37) ~[?:?]
                at oshi.hardware.platform.linux.LinuxDisks.getDisks(LinuxDisks.java:102) ~[?:?]
                at oshi.hardware.platform.linux.LinuxHardwareAbstractionLayer.getDiskStores(LinuxHardwareAbstractionLayer.java:83) ~[?:?]
                at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.initializeSysteminfo(OSHISysteminfo.java:107) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.instantiateSysteminfoLibrary(SysteminfoHandler.java:125) ~[?:?]
                at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.initialize(SysteminfoHandler.java:111) ~[?:?]
                at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
                at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [133:org.openhab.core:2.5.0.M3]
                at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [133:org.openhab.core:2.5.0.M3]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
                at java.lang.Thread.run(Thread.java:748) [?:?]

same here with nuc/openhabian and debian buster

i2019-09-09 08:24:48.103 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler@23229f': Unable to load library 'udev':

libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

/lib/x86_64-linux-gnu/libudev.so.1.6.13: falsche ELF-Klasse: ELFCLASS64

Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)

java.lang.UnsatisfiedLinkError: Unable to load library ‘udev’:

libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

/lib/x86_64-linux-gnu/libudev.so.1.6.13: falsche ELF-Klasse: ELFCLASS64

Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)s

Hi,
I have the same problen on intel NUC with the System Info binding:
Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR Unable to load library ‘udev’: Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/activation-1.1.1.jar:/usr/share/openhab2/runtime/lib/boot/jaxb-api-2.3.0.jar:/usr/share/openhab2/runtime/lib/boot/jaxb-core-2.2.11.jar:/usr/share/openhab2/runtime/lib/boot/jaxb-impl-2.2.11.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.1.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.1.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.1.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)

How can I fix it?

Same here (2.5.0-SNAPSHOT Build #1696):

Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR Unable to load library ‘udev’: libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden libudev.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden /lib/x86_64-linux-gnu/libudev.so.1.6.5: falsche ELF-Klasse: ELFCLASS64 Native library (linux-x86/libudev.so) not found in resource path (/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.main-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.6.jar:/usr/share/openhab2/runtime/lib/boot/org.osgi.core-6.0.0.jar)

Hi.
After updateing to M3 the System Info binding doesn’t work.
So I have installed the 32bit library of libudev again and it runs.
Ubuntu: apt-get install libudev1:i386.
Can you test it?
Greetings,
Markus

4 Likes

Working again:
Intel® Celeron® CPU J1900 @ 1.99GHz // 2.5.0-SNAPSHOT Build #1705

Steps i did:
sudo apt-get install libudev1:i386
sudo /etc/init.d/openhab2 restart

Thank you very much!

6 Likes

Hi Thomas, hi Markus,

Many thanks, that works! :clap:

Best regards
Henry

Pin this!