News for hackers. Stuff that matters.
Re:DLS, the digital logic simulator game by technomancy on Sunday August 07, 2016 @07:39AM (#12241798)
Looks like fun. I wish I could play it, but after manually chmodding and avoiding the tarbomb I get "./DLS: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./DLS)" when I try to run on 64-bit Debian Jessie and "-bash: ./DLS: No such file or directory" when I try to run the other version for GCC 4.9.2. (I have GCC 4.9.3.)
Re:DLS, the digital logic simulator game by jdryg on Sunday August 07, 2016 @09:35AM (#12242032)
For the first error (`GLIBCXX_3.4.21' not found) try the other Linux version (the one marked as GCC 4.9.3). This was the reason I uploaded it.

For the second error (at least on Ubuntu 14.04) it seems that some dependency is missing but ldd doesn't report it. Under Ubuntu 14.04 ldd maps /lib/ld-linux-x86-64.so.2 to /lib64/ld-linux-x86-64.so.2 but when you try loading the executable this doesn't happen. If this is the case for you, try creating a symlink:

ln -s /lib64/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2

Hope that helps.

Re:DLS, the digital logic simulator game by technomancy on Sunday August 07, 2016 @10:59AM (#12242229)
Interesting; how is it possible for `ldd` to report the dependency resolution incorrectly?

Is it possible to fix this with `LD_LIBRARY_PATH`? I would like to avoid running one-off commands on my /lib directory that I don't understand if possible.