-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dfhack script and library issue on x86_64 Ubuntu 10.4 #6
Comments
What distro are you using? /bin/sh should exist on practically any modern distribution. |
Ubuntu. For some reason /bin/sh --> dash rather than bash. So the script ran, but didn't recognize $BASH_SOURCE in line 19 because it wasn't using the bash interpreter. |
Ah, that was fixed recently but apparently not in r3. You can try replacing distro_fixes.sh with the most recent copy from this repo, although it probably won't help with the GTK issue. |
OK, I'll try the distro_fixes, though changing the script to /bin/bash worked too. I fixed GTK with the recommended sudo command; I was just suggesting that you create an installation section for people who aren't accustomed to troubleshooting. People who install the LNP may not even see the other sites. The site was actually github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux. Thank you for providing LNP-L ! |
I am having the same issue. I have installed all of the dependencies. I am a bit of a Linux Newb, I tried to follow everything said but it won't launch. |
PyLNP worked out of the box, but to start a game it popped up a window that that disappeared before it showed anything, and wrote nothing to std{err,out}.txt.
So I tried starting it with the dfhack script, but got errors because it invokes /bin/sh rather than /bin/bash.
Fixing that let the script run, and it gave the "32bit DF on unhandled 64bit OS detected", and a request to open an issue here for missing file errors. I get the error for libgtk-x11-2.0.so.0.
I searched the web for dfhack linux 32 64 libgtk-x11, and it turned up the LNP-L github page. That page has the command for installing the necessary libraries, but it's way down below the DF release notes. You may want to consider moving it up to the "Linux Download" section at the top of the page, and change the section to "Installation".
Notice that I got LNP-L from dffd, which lists the libraries but doesn't tell you how to find out if you have them. You may want to add an installation section there as well.
The text was updated successfully, but these errors were encountered: