> On Windows, the lazy method would just be to dump all the dlls with the exe > file and it works.
This is not the "lazy" way, it's the recommended way. > it doesn't clutter up around the actual binary. On Windows you typically run games by clicking on a shortcut, not by navigating to the directory in search of a .exe file... > On Linux, I have tried to create a bash script that is run first with > LD_LIBRARY_PATH=path/to/libs ./myProgram, but I end up with the same error, > SDL2 not found. There is also `RDPATH` but I forgot how it works.
