Programm startet nicht Linux

Hallo ich bin neu hier und habe wenig Erfahrung mit JME.
Ich habe die SDK unter Linux heruntergeladen und soweit funktioniert auch alles. Wenn ich allerdings ein programm erstelle und es starten will, kommt da immer eine Fehlermeldung obwohl ich nichts verändert habe.

Ich schreibe die Fehlermeldung unten rein und hoffe dass mir jemand helfen kann

  • (java:10593): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(java:10593): Gtk-WARNING **: Theme parsing error: gtk.css:3611:22: ‘none’ is not a valid color name

(java:10593): Gtk-WARNING **: Theme parsing error: gtk.css:3611:22: ‘none’ is not a valid color name
März 21, 2020 1:25:10 VORM. com.jme3.system.JmeDesktopSystem initialize
INFORMATION: Running on jMonkeyEngine 3.3.0-beta1

  • Branch: HEAD
  • Git Hash: bd1b6d2
  • Build Date: 2020-02-07
    Exception in thread “main” java.lang.UnsatisfiedLinkError: /home/benedikt/jMonkeyProjekts/Test/libbulletjme.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27’ not found (required by /home/benedikt/jMonkeyProjekts/Test/libbulletjme.so)
    at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
    at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
    at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
    at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
    at java.base/java.lang.Runtime.load0(Runtime.java:767)
    at java.base/java.lang.System.load(System.java:1834)
    at com.jme3.system.NativeLibraryLoader.loadNativeLibrary(NativeLibraryLoader.java:685)
    at com.jme3.system.JmeDesktopSystem.initialize(JmeDesktopSystem.java:348)
    at com.jme3.system.JmeDesktopSystem.newContext(JmeDesktopSystem.java:271)
    at com.jme3.system.JmeSystem.newContext(JmeSystem.java:159)
    at com.jme3.app.LegacyApplication.start(LegacyApplication.java:461)
    at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
    at com.jme3.app.SimpleApplication.start(SimpleApplication.java:127)
    at mygame.Main.main(Main.java:19)
    /home/benedikt/jMonkeyProjekts/Test/nbproject/build-impl.xml:1322: The following error occurred while executing this line:
    /home/benedikt/jMonkeyProjekts/Test/nbproject/build-impl.xml:960: Java returned: 1
    BUILD FAILED (total time: 8 seconds)
1 Like

Ich kenne die Ursache des Problems, das Sie sehen, nicht.

Möglicherweise verwenden Sie die SDK-Version v3.3.0-beta1-sdk1. Für die Produktion empfehle ich die Verwendung von Version v3.2.4-Stable-SDK1. Haben Sie diese Version ausprobiert?

2 Likes

This looks like you’re missing the appropriate version of a native library. Maybe you could try installing it through your package manager of choice?

(Es tut mir leid, dass mein Antwort in Englisch ist, aber ich kann Deutsch nur lesen.)

EDIT: Tagging @Darkchaos, as he has quite a bit of expertise in both SDK and German.

1 Like

yes, looks like need just install/update additional packages like glibc

yum/apt-get/whatever update
yum/apt-get/whatever install libc6(or similar package name)
1 Like

Kannst du Versuchen die Engine zu clonen (GitHub - jMonkeyEngine/jmonkeyengine: A complete 3D game development suite written purely in Java.) und dann gradlew run auszuführen und sowas wie TestCollision zu suchen ob das da auch passiert?

Ein ähnliches Problem haben wir bei lwjgl2 gefunden gehabt, dort hat Ubuntu die Versionssymbole entfernt, aber bei bullet war uns das nicht bekannt, daher:

  • Was für ein OS nutzt du?
  • Kannst du evtl. eine spezifische GLIBC Version installieren?

Looks like the Problem we have with lwjgl2 on Ubuntu starts to spread out on other libraries. A recompile is probably enough, but I’d need to talk to the glibc guys if they just stopped using named versions and we thus need to recompile everything or what the case is. This is most certainly not SDK related and will also affect 3.2

2 Likes

Danke für die schnellen Antworten ich werde man eure Lösungen probieren und hoffe dass es jetzt klappt

1 Like

Oh und eventuell die Ausgabe von readelf -V /lib/x86_64-linux-gnu/libm.so.6
Sieht bei mir so aus (der mittlere Teil):

Version definition section '.gnu.version_d' contains 10 entries:
  Adr:  0x000000000000b188  Offset: 0x00b188  Link: 5 (.dynstr)
  000000: Rev: 1  Flags: BASE  Index: 1  Zähler: 1  Name: libm.so.6
  0x001c: Rev: 1  Flags: nichts  Index: 2  Zähler: 1  Name: GLIBC_2.2.5
  0x0038: Rev: 1  Flags: nichts  Index: 3  Zähler: 2  Name: GLIBC_2.4
  0x0054: Parent 1: GLIBC_2.2.5
  0x005c: Rev: 1  Flags: nichts  Index: 4  Zähler: 2  Name: GLIBC_2.15
  0x0078: Parent 1: GLIBC_2.4
  0x0080: Rev: 1  Flags: nichts  Index: 5  Zähler: 2  Name: GLIBC_2.18
  0x009c: Parent 1: GLIBC_2.15
  0x00a4: Rev: 1  Flags: nichts  Index: 6  Zähler: 2  Name: GLIBC_2.23
  0x00c0: Parent 1: GLIBC_2.18
  0x00c8: Rev: 1  Flags: nichts  Index: 7  Zähler: 2  Name: GLIBC_2.24
  0x00e4: Parent 1: GLIBC_2.23
  0x00ec: Rev: 1  Flags: nichts  Index: 8  Zähler: 2  Name: GLIBC_2.25
  0x0108: Parent 1: GLIBC_2.24
  0x0110: Rev: 1  Flags: nichts  Index: 9  Zähler: 2  Name: GLIBC_2.26
  0x012c: Parent 1: GLIBC_2.25
  0x0134: Rev: 1  Flags: nichts  Index: 10  Zähler: 2  Name: GLIBC_2.27
  0x0150: Parent 1: GLIBC_2.26
1 Like