View Issue Details

IDProjectCategoryView StatusLast Update
0002170Dwarf FortressTechnical -- Generalpublic2010-07-10 05:46
Reporterburlingk Assigned ToBaughn  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSLinuxOS VersionUnuntu 64
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

Activities

burlingk

2010-06-05 06:19

reporter   ~0007717

Last edited: 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.

dafleck

2010-06-05 06:56

reporter   ~0007718

Last edited: 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

burlingk

2010-06-05 19:34

reporter   ~0007744

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.

user6

2010-06-08 08:16

  ~0007936

Reminder sent to: Baughn

Hey Baughn -- I assigned this one to you but wasn't sure if you saw it.

Baughn

2010-06-08 08:22

manager   ~0007937

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.

Baughn

2010-06-08 08:25

manager   ~0007938

Last edited: 2010-06-08 08:26

This is on Ubuntu, right?

There's a lib32ncursesw5 package you should install.

burlingk

2010-06-09 06:21

reporter   ~0007987

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. :)

user6

2010-06-09 06:49

  ~0007988

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
2010-06-05 06:56 dafleck Note Added: 0007718
2010-06-05 06:57 dafleck Note Edited: 0007718
2010-06-05 10:15 user6 Status new => assigned
2010-06-05 10:15 user6 Assigned To => Baughn
2010-06-05 19:34 burlingk Note Added: 0007744
2010-06-08 08:16 user6 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
2010-06-08 08:43 user6 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 => feedback
2010-06-09 06:21 burlingk Resolution no change required => reopened
2010-06-09 06:49 user6 Note Added: 0007988
2010-06-09 06:49 user6 Status feedback => resolved
2010-06-09 06:49 user6 Resolution reopened => fixed
2010-06-29 07:38 user6 Category Technical => Technical -- General
2010-07-10 05:46 TomiTapio Tag Attached: linux