Open rkraneis opened 3 years ago
As a workaround I copied my local libSDL over this file.
Thanks, did copying your local file work? Also what game is this?
On Thu, 14 Jan 2021, 8:35 pm René Kraneis, notifications@github.com wrote:
As a workaround I copied my local libSDL over this file.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AlmasB/FXGLGames/issues/11#issuecomment-760460531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3NT5TZSW4SDTDWFRRVSEDSZ5IRNANCNFSM4WDA2Z7Q .
Oh, sorry, this is for GeometryWars. Yes, copying and using local file did work. Game did not crash.
Thanks, I've just updated the GeometryWars sample to not initialize controllers, which are not being used by the game anyway.
In the future, when the game does support controllers, I will need to write down all SDL2 dependencies or specific versions that may not be present on the system. I wonder what ldd gives for your local SDL2 copy.
Quite some difference there:
ldd /lib64/libSDL2-2.0.so.0
linux-vdso.so.1 (0x00007ffe64ffc000)
libm.so.6 => /lib64/libm.so.6 (0x00007f08b5eb7000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f08b5eb0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f08b5e8e000)
librt.so.1 => /lib64/librt.so.1 (0x00007f08b5e83000)
libc.so.6 => /lib64/libc.so.6 (0x00007f08b5cb8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f08b6170000)
Ragarding sndio: it seems not that well supported by distributions.
Message: /home/rene/.openjfx/cache/fxgl-11/libSDL2.so: libsndio.so.6.1: cannot open shared object file: No such file or directory Type: UnsatisfiedLinkError
Not much to add ... this happens on Fedora 33.