./Vamp: error while loading shared libraries: ./libSDL2-2.0.so.0: file too short
Removing the included SDL2 libraries allowed me to run the game using my system libraries.
Assemble a team, hunt the vampires, and save your hometown! · By
Thanks, the issue seems fixed in the newest zip. Running ldd on ./Vamp shows the supplied SDL2 library is being preferred first.
I have one other issue/question. Where did you get your SDL2 shared lib from? It seems to be causing an issue that renders my monitor unusable when the game enters fullscreen. Using my system-provided SDL2 allows fullscreen to work.
I remember running into this issue with my own game when I compiled SDL2 myself without having some X11 libraries installed.
If you're not already doing this, you should probably be getting the SDL2 library from the Steam Runtime, which is what that the SDL wiki also recommends ("known good", it's called).
Same mistake I made a while ago. :)
The ./configure script for SDL2 should show what libraries/features are compiled into SDL2 at the end. I believe I had missed some important X11/OpenGL packages. Instead of failing, the build produced a flawed SDL2 shared library without all targets built in.
I really recommend getting the library from the Steam Runtime, but if you'd rather build yourself, see the dependencies here:
https://hg.libsdl.org/SDL/file/default/docs/README...