Running Dwarf Fortress on Fedora Linux is mostly straight forward however SELinux can cause some problems. Strangely, SELinux is what prevents it from running but I was unable to find any logs of the access denial. This is the error it returns:
./libs/Dwarf_Fortress: error while loading shared libraries: /home/william/.applications/df_linux/libs/libgraphics.so: cannot restore segment prot after reloc: Permission denied
The problem seems to be in SELinux. I found a workaround that seems to work just fine. I’m not sure if it’s best practice or anything but it got Dwarf Fortress running just fine. Be sure to replace the path so that it’s pointing to wherever you’ve put Dwarf Fortress.
sudo semanage fcontext -a -t textrel_shlib_t /home/william/.applications/df_linux/libs/libgraphics.so sudo restorecon -R -v /home/william/.applications/df_linux/libs/libgraphics.so
And you should be set. Please leave a comment if it helped.