Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002170Dwarf FortressTechnical -- Generalpublic2010-06-05 06:172010-07-10 05:46
Reporterburlingk 
Assigned ToBaughn 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSLinuxOS VersionUnuntu 64
Product Version 
Target VersionFixed in Version 
Summary0002170: Does not load. Ncurses error
DescriptionWhen 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
Tagslinux
Attached Files

- Relationships

-  Notes
(0007717)
burlingk (reporter)
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 (reporter)
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 [^]

(0007744)
burlingk (reporter)
2010-06-05 19:34

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.
(0007936)
Footkerchief (manager)
2010-06-08 08:16

Reminder sent to: Baughn

Hey Baughn -- I assigned this one to you but wasn't sure if you saw it.
(0007937)
Baughn (manager)
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 (manager)
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.

(0007987)
burlingk (reporter)
2010-06-09 06:21

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. :)
(0007988)
Footkerchief (manager)
2010-06-09 06:49

Closing as requested.

- 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 View Revisions
2010-06-05 06:56 dafleck Note Added: 0007718
2010-06-05 06:57 dafleck Note Edited: 0007718 View Revisions
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 View Revisions
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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker