Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002170 | Dwarf Fortress | Technical -- General | public | 2010-06-05 06:17 | 2010-07-10 05:46 |
|
Reporter | burlingk | |
Assigned To | Baughn | |
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | Linux | OS | Linux | OS Version | Ununtu 64 |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0002170: Does not load. Ncurses error |
Description | When I try to run the program, I get the following error.
./libs/Dwarf_Fortress: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
|
Steps To Reproduce | |
Additional Information | |
Tags | linux |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-06-05 06:17 | burlingk | New Issue | |
2010-06-05 06:19 | burlingk | Note Added: 0007717 | |
2010-06-05 06:49 | burlingk | Note Edited: 0007717 | bug_revision_view_page.php?bugnote_id=0007717#r2866 |
2010-06-05 06:56 | dafleck | Note Added: 0007718 | |
2010-06-05 06:57 | dafleck | Note Edited: 0007718 | bug_revision_view_page.php?bugnote_id=0007718#r2868 |
2010-06-05 10:15 | Footkerchief | Status | new => assigned |
2010-06-05 10:15 | Footkerchief | Assigned To | => Baughn |
2010-06-05 19:34 | burlingk | Note Added: 0007744 | |
2010-06-08 08:16 | Footkerchief | Note Added: 0007936 | |
2010-06-08 08:22 | Baughn | Note Added: 0007937 | |
2010-06-08 08:25 | Baughn | Note Added: 0007938 | |
2010-06-08 08:25 | Baughn | Status | assigned => closed |
2010-06-08 08:25 | Baughn | Resolution | open => no change required |
2010-06-08 08:26 | Baughn | Note Edited: 0007938 | bug_revision_view_page.php?bugnote_id=0007938#r2964 |
2010-06-08 08:43 | Footkerchief | Status | closed => resolved |
2010-06-08 13:40 | NLegari | Tag Attached: suspension of disbelief | |
2010-06-08 13:40 | NLegari | Tag Detached: suspension of disbelief | |
2010-06-09 06:21 | burlingk | Note Added: 0007987 | |
2010-06-09 06:21 | burlingk | Status | resolved => needs feedback |
2010-06-09 06:21 | burlingk | Resolution | no change required => reopened |
2010-06-09 06:49 | Footkerchief | Note Added: 0007988 | |
2010-06-09 06:49 | Footkerchief | Status | needs feedback => resolved |
2010-06-09 06:49 | Footkerchief | Resolution | reopened => fixed |
2010-06-29 07:38 | Footkerchief | Category | Technical => Technical -- General |
2010-07-10 05:46 | TomiTapio | Tag Attached: linux | |
Notes |
|
(0007717)
|
burlingk
|
2010-06-05 06:19
(edited on: 2010-06-05 06:49) |
|
This may be an ubuntu64 specific issue.
In the /lib32 directory, I did
sudo ln -s libncurses.so.5 libncursesw.so.5
And that fixed it.
Note: On many systems, there is no longer a separate libncursesw. This started to be the case more often when Unicode became the rule instead of the exception.
|
|
|
(0007718)
|
dafleck
|
2010-06-05 06:56
(edited on: 2010-06-05 06:57) |
|
I had this issue running with ubuntu64 10.04 however I did not have the 32bit libraries installed on my system.
I found 'getlibs' which installs 32bit versions of libraries and ran it (from my df dir) with:
sudo getlibs libs/Dwarf_Fortress
It successfully installed the 32bit version of libncursesw and DF now works fine.
EDIT: getlibs can be found at
http://ubuntuforums.org/showthread.php?t=474790&highlight=getlibs [^]
|
|
|
|
getlibs says that I am not missing any dependancies.
The biggest annoyance is that it got this error when set to "Standard" and "2D" print modes. :P
At least I have figured out a workaround. |
|
|
|
Reminder sent to: Baughn Hey Baughn -- I assigned this one to you but wasn't sure if you saw it. |
|
|
(0007937)
|
Baughn
|
2010-06-08 08:22
|
|
I didn't. Hm.
nurses uses function macros heavily, which makes it impractical to dlopen/dlsym the library. The preferred solution is to use autoconf to build a version for the particular system it'll be running on.. yeah, not really an option here.
I'm going to have to think about this one. And ask some people. |
|
|
(0007938)
|
Baughn
|
2010-06-08 08:25
(edited on: 2010-06-08 08:26) |
|
This is on Ubuntu, right?
There's a lib32ncursesw5 package you should install.
|
|
|
|
You can just re-close this. I am only posting to let you know that I did install that package, and it fixed the problem. I must have had a typo the first time I looked for it, as I missed it.
Chalk this on up to user error. :) |
|
|
|
|