-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,23 +33,9 @@ When the error `GLIBC_2.33 not found` is shown in the startup log, you need to u | |
|
||
``` | ||
[main] ERROR com.pi4j.library.gpiod.util.NativeLibraryLoader - Unable to load [libgpiod.so] using path: [/lib/aarch64/pi4j-gpiod/libgpiod.so] | ||
java.lang.UnsatisfiedLinkError: /tmp/libgpiod14998985341386605622.so: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /tmp/libgpiod14998985341386605622.so) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1970) at [email protected]/com.pi4j.library.gpiod.util.NativeLibraryLoader.loadLibraryFromClasspath(NativeLibraryLoader.java:261) at [email protected]/com.pi4j.library.gpiod.util.NativeLibraryLoader.load(NativeLibraryLoader.java:179) at [email protected]/com.pi4j.library.gpiod.internal.GpioD.<clinit>(GpioD.java:20) at [email protected]/com.pi4j.library.gpiod.internal.GpioDContext.initialize(GpioDContext.java:47) at [email protected]/com.pi4j.plugin.gpiod.provider.gpio.digital.GpioDDigitalOutputProviderImpl.initialize(GpioDDigitalOutputProviderImpl.java:78) at [email protected]/com.pi4j.plugin.gpiod.provider.gpio.digital.GpioDDigitalOutputProviderImpl.initialize(GpioDDigitalOutputProviderImpl.java:47) at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.initializeProvider(DefaultRuntimeProviders.java:276) at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.add(DefaultRuntimeProviders.java:252) at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.add(DefaultRuntimeProviders.java:232) at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.initialize(DefaultRuntimeProviders.java:357) at [email protected]/com.pi4j.runtime.impl.DefaultRuntime.initialize(DefaultRuntime.java:318) at [email protected]/com.pi4j.context.impl.DefaultContext.<init>(DefaultContext.java:113) at [email protected]/com.pi4j.context.impl.DefaultContext.newInstance(DefaultContext.java:76) at [email protected]/com.pi4j.context.impl.DefaultContextBuilder.build(DefaultContextBuilder.java:309) at [email protected]/com.pi4j.context.impl.DefaultContextBuilder.build(DefaultContextBuilder.java:49) at [email protected]/com.pi4j.Pi4J.newAutoContext(Pi4J.java:70) at [email protected]/com.pi4j.example.MinimalExample.main(MinimalExample.java:91) Exception in thread "main" java.lang.UnsatisfiedLinkError: Pi4J was unable to extract and load the native library [/lib/aarch64/pi4j-gpiod/libgpiod.so] from the embedded resources inside this JAR [/home/pi/maven/pi4j-example-minimal/target/distribution/./pi4j-library-gpiod-2.7.0.jar]. to a temporary location on this system. You can alternatively define the 'pi4j.library.path' system property to override this behavior and specify the library path. UNDERLYING EXCEPTION: [java.lang.UnsatisfiedLinkError]=/tmp/libgpiod14998985341386605622.so: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /tmp/libgpiod14998985341386605622.so) | ||
at [email protected]/com.pi4j.library.gpiod.util.NativeLibraryLoader.load(NativeLibraryLoader.java:200) | ||
at [email protected]/com.pi4j.library.gpiod.internal.GpioD.(GpioD.java:20) | ||
at [email protected]/com.pi4j.library.gpiod.internal.GpioDContext.initialize(GpioDContext.java:47) | ||
at [email protected]/com.pi4j.plugin.gpiod.provider.gpio.digital.GpioDDigitalOutputProviderImpl.initialize(GpioDDigitalOutputProviderImpl.java:78) | ||
at [email protected]/com.pi4j.plugin.gpiod.provider.gpio.digital.GpioDDigitalOutputProviderImpl.initialize(GpioDDigitalOutputProviderImpl.java:47) | ||
at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.initializeProvider(DefaultRuntimeProviders.java:276) | ||
at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.add(DefaultRuntimeProviders.java:252) | ||
at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.add(DefaultRuntimeProviders.java:232) | ||
at [email protected]/com.pi4j.provider.impl.DefaultRuntimeProviders.initialize(DefaultRuntimeProviders.java:357) | ||
at [email protected]/com.pi4j.runtime.impl.DefaultRuntime.initialize(DefaultRuntime.java:318) | ||
at [email protected]/com.pi4j.context.impl.DefaultContext.(DefaultContext.java:113) | ||
at [email protected]/com.pi4j.context.impl.DefaultContext.newInstance(DefaultContext.java:76) | ||
at [email protected]/com.pi4j.context.impl.DefaultContextBuilder.build(DefaultContextBuilder.java:309) | ||
at [email protected]/com.pi4j.context.impl.DefaultContextBuilder.build(DefaultContextBuilder.java:49) | ||
at [email protected]/com.pi4j.Pi4J.newAutoContext(Pi4J.java:70) | ||
at [email protected]/com.pi4j.example.MinimalExample.main(MinimalExample.java:91) | ||
java.lang.UnsatisfiedLinkError: /tmp/libgpiod14998985341386605622.so: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /tmp/libgpiod14998985341386605622.so) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader. | ||
... | ||
Exception in thread "main" java.lang.UnsatisfiedLinkError: Pi4J was unable to extract and load the native library [/lib/aarch64/pi4j-gpiod/libgpiod.so] from the embedded resources inside this JAR [/home/pi/maven/pi4j-example-minimal/target/distribution/./pi4j-library-gpiod-2.7.0.jar]. to a temporary location on this system. You can alternatively define the 'pi4j.library.path' system property to override this behavior and specify the library path. | ||
``` | ||
|
||
## Unexpected Results on Electronic Components | ||
|