Ok, so I seen a number of guides on how to fix it but I fail to understand or find a way to run dwarf fortress on Debian 9.
To describe my problem lets establish first that I downloaded Dwarf fortress on this PC from the Bay12games website and I used the terminal to extract the files and go into the df_linux folder on my desktop to run it.
my Debian 9 OS runs on a 32bit system but for some reason I get this error:
./df: 6: ./df: ./libs/Dwarf_Fortress: Exec format error
Anyway to further elaborate I used the wiki guide that guided me to install these packages to run DF:
sudo apt-get install libsdl-image1.2 libsdl-ttf2.0-0 libgtk2.0-0 libglu1-mesa libopenal1
that worked, but I still got the error this post describes, as well as I dont know why most guides tell me to get 32bit-libs which I attempted but got retaliated with an error that stated that the package cannot be located despite the system being 32bit as well as being up to date.
can anyone give a solution to this problem please?
Further Inspection:
Ok, so I did more digging around the files and apparently its a bash error if im not mistaken, the ./df referrers the execution into the libs folder to run the actual Dwarf_Fortress application if im not mistaken.
Assuming that is the case I decided to skip the df.sh and go straight to Dwarf_Fortress.sh which is located in the libs folder and this is the error I got:
"bash: ./Dwarf_Fortress: cannot execute binary file: Exec format error"
I did run the chmod +x [insert_name_without_brackets] and tried to run the actuall file but still no luck, hope this can help someone to help me come with a solution to this problem.