Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So, I downloaded dwarf fortress linux edition, fired up terminal, decompressed the bz2 (still in the downloads folder), cd ~/Downloads/df_linux, then:

~/Downloads/df_linux$ ./df
./df: 6: ./df: ./libs/Dwarf_Fortress: not found
~/Downloads/df_linux$ cd libs
~/Downloads/df_linux/libs$ ls -al
total 21408
-rwx------ 1 ***** ***** 15104448 Jul  29  14:06 Dwarf_Fortress
-rw-r--r-- 1 ***** *****   466491 Jul  29  14:06 libgcc_s.so.1
-rwxr-xr-x 1 ***** *****  1451966 Jul  29  14:06 libgraphics.so
-rwxr-xr-x 1 ***** *****  4852343 Jul  29  14:06 libstdc++.so.6
~/Downloads/df_linux/libs$

Not found??? It is RIGHT THERE!!! I even tried to copy the Dwarf_Fortress executable into ~/bin, then run Dwarf_fortress on the command line:

~/Downloads/df_linux/libs$ cd ~/bin
~/bin$ ls -la
total 14788
-rwxr--r--  1 ***** *****      243 Jul  29  14:06 df
-rwx------  1 ***** ***** 15104448 Jun  29  14:06 Dwarf_Fortress
~/bin$ df
/home/*****/bin/df: 6: /home/*****/bin/df: ./libs/Dwarf_Fortress: not found
~/bin$ Dwarf_Fortress
bash: /home/*****/bin/Dwarf_Fortress: No such file or directory
~/bin$

Again, the same problem. something is wrong with this

Anyways, if you have been wondering, I ran touch * on the files, and didn't include all stuff in my ~/bin, and export PS1='/w$ ' in my .bashrc

How I Tried to Fix It

Since it tells me that it can't find the exeutable, I edited the last line form ./libs/Dwarf_Fortress to the full path, same error. Then, I tried removing everything but the export command and the execute command (which I changed to the full path to my executable) and same error.

Some reply(s) told me to post the md5sum, it is 33e26a93e5914f7545fa1aaa53706eeb

share|improve this question

1 Answer 1

From the folder with a freshly unpacked dwarf fortress could you run the commands:

pwd; sh -x df

this will allow further debugging of the script that launches dwarf fortress

could you also run:

md5sum Dwarf_Fortress

from the libs folder and paste the checksum as a comment here if thats possible

share|improve this answer
    
pwd? did you see the ls -la commands and the path on the left? sh -x returns exactly the same error –  AbstruselyArcane Jul 30 '13 at 3:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.