Closed vladyio closed 7 years ago
Okay, I just needed to create these symlinks (maybe one of them is odd):
ln -s /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 /usr/lib/libSDL2.so
ln -s /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 /usr/local/lib/libSDL2.so
Now it works.
Running on Ubuntu 16.04.2 (to be accurate, it's an Ubuntu fork called elementaryOS), nim 0.17.0 (2017-05-17).
Trying to compile an example from the README:
nim c -r --noMain --threads:on main.nim
What I get after the compilation:
Running with
-d:nimDebugDlOpen
prints out justlibSDL2.so: cannot open shared object file: No such file or directory
As far as I understand I have libSDL installed on my system since
ls /usr/lib/x86_64-linux-gnu/ | grep libSD
gives the following:Maybe I have to set up some symlinks for the library or anything else? Where must I put the libSDL file?