SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I had posted in a previous thread that I was considering going from 12.2 to 13.0-64 Well, I did so on my laptop just to try it out. The installation went smoothly, but I've run into a problem when trying to run Dwarf Fortress.
I see a file, dwarfort.exe When I try to run it:
./dwarfort.exe
I get:
./dwarfort.exe -- No such file or directory
I own the file, and it is marked as executable. I'm not really sure what I should do. I'm going through Alien Bob's multilib guide, and since DF ran fine in 12.2, I'm hoping that it'll run fine once I'm through.
I'm just not sure why I get an error that the file simply doesn't exist rather an error telling me some libraries are missing.
Are you typing the command from the same directory that dwarfort.exe is in?
By using the "./" before the command, you're telling the system that the file is in the same directory that you are currently in (PWD). If this is not so, the file won't be found.
Try giving the command without "./"
I'm assuming you have Wine installed if you're executing an .exe file.
Yes, I'm in the same directory, and yes, it's a Linux binary despite the .exe ending. In fact, I can run this little script, also in the same directory:
Code:
#!/bin/sh
DF_DIR=$(dirname "$0")
cd "${DF_DIR}"
export SDL_DISABLE_LOCK_KEYS=1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
ldd dwarfort.exe | grep SDL_image | grep -qv "not found$"
if [ $? -q 0]; then
mkdir unused libs
mv libs/libSDL* unused_libs/
fi
./dwarfort.exe
and it chokes on the ./dwarfort.exe line with the same error
...and by "this little script", I mean, this little script that came bundled with dwarfort.exe in a .zip file named df_linux. So, I'm pretty sure it's not a Windows binary.
If it is an issue, though, no I don't have Wine installed. Thanks! My suspicions are that it's a library issue; I just don't get why I'm getting the "file not found" error message.
Okay, after enabling multilib support, Dwarf Fortress runs, albeit very slowly. This was the case on Slack 12.2 before I installed my NVIDIA drivers, so I guess I'll get to work on that. I should only have to deal with the 64bit drivers, right?
I also get this error:
Code:
mkdir: cannot create directory `unused_libs': File exists
mv: cannot stat `libs/libSDL*': No such file or directory
(dwarfort.exe:10799): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/pango.modules'
You should create this file by running:
pango-querymodules > '/etc/pango/pango.modules'
(dwarfort.exe:10799): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'
Using OpenGL output path with client-side arrays
A quick google search tells me that Pango is used to output international characters. Dwarf Fortress uses a lot of diacritical marks, so I guess it makes sense why Pango gets involved. I created the file pango.modules, but DF still complains.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.