physx-jni icon indicating copy to clipboard operation
physx-jni copied to clipboard

Linux incompatibility

Open haubna opened this issue 1 year ago • 1 comments

A user reported a crash on Linux. I am not that familiar with it but it seems like his distribution of Linux is missing something that others have.

Operating System: Linux (amd64) version 6.5.0-35-generic

Caused by: java.lang.IllegalStateException: Failed loading native PhysX libraries for platform LINUX
	at de.fabmax.physxjni.Loader.load(Loader.java:37)
	at physx.NativeObject.<clinit>(NativeObject.java:7)
	... 9 more
Caused by: java.lang.UnsatisfiedLinkError: /tmp/de.fabmax.physx-jni/2.3.2/libPhysXJniBindings_64.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/de.fabmax.physx-jni/2.3.2/libPhysXJniBindings_64.so)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
	at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.base/java.lang.Runtime.load0(Unknown Source)
	at java.base/java.lang.System.load(Unknown Source)
	at de.fabmax.physxjni.NativeLib.load(NativeLib.java:49)
	at de.fabmax.physxjni.Loader.load(Loader.java:35)

Edit: The user fixed it by following the instructions here.

haubna avatar May 25 '24 08:05 haubna

Can we bind Linux drivers in windows like touchpad driver audio driver etc

rosanyadav08 avatar Jun 14 '24 19:06 rosanyadav08