Wine cannot find the ncurses library (libncurses.so.5).

Bug #938310 reported by mrl586
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
wine1.4 (Ubuntu)
Fix Released
Medium
Scott Ritchie

Bug Description

tux@S205:~$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
tux@S205:~$ apt-cache policy wine1.4
wine1.4:
  Asennettu: 1.4~rc4-0ubuntu2
  Ehdokas: 1.4~rc4-0ubuntu2
  Versiotaulukko:
 *** 1.4~rc4-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

tux@S205:~$ dpkg -l | grep ncurses
ii libncurses5 5.9-4 shared libraries for terminal handling
ii libncursesw5 5.9-4 shared libraries for terminal handling (wide character support)
ii ncurses-base 5.9-4 basic terminal type definitions
ii ncurses-bin 5.9-4 terminal-related programs and man pages

Related branches

mrl586 (mrl586)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wine1.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew R. Tober (mr-matthew-tober) wrote :

> lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

> apt-cache policy wine1.4
wine1.4:
  Installed: 1.4~rc4-0ubuntu2
  Candidate: 1.4~rc4-0ubuntu2
  Version table:
 *** 1.4~rc4-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

> dpkg -l | grep ncurses
ii libncurses5 5.9-4 shared libraries for terminal handling
ii libncurses5-dev 5.9-4 developer's libraries for ncurses
ii libncursesw5 5.9-4 shared libraries for terminal handling (wide character support)
ii mtr-tiny 0.80-1ubuntu1 Full screen ncurses traceroute tool
ii ncurses-base 5.9-4 basic terminal type definitions
ii ncurses-bin 5.9-4 terminal-related programs and man pages

> uname -a
Linux T5246 3.2.0-17-generic #26-Ubuntu SMP Fri Feb 17 21:35:49 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Can you provide some context please? Where do you see this bug? What happens?

Revision history for this message
mrl586 (mrl586) wrote :

When I started windows program with wine, it says this

tux@S205:~/Lataukset$ wine program.exe
fixme:iphlpapi:NotifyAddrChange (Handle 0xebe8cc, overlapped 0xebe8b0): stub
wine: configuration in '/home/tux/.wine' has been updated.
Wine cannot find the ncurses library (libncurses.so.5).

Revision history for this message
micove (micove) wrote :

Using wine on an amd64 system:

$ sudo apt-get install wine1.4
$ wine <snip>
Wine cannot find the ncurses library (libncurses.so.5)
$ sudo apt-get install libncurses5:i386
$ wine <snip>

Message gone.

It seems that wine1.4-amd64/wine1.4-i386 should depend on libncurses5. It was installed on my host architecture beforehand but when installing the other arch package (in this case i386) it does not get installed as a dependency.

This is what I guess this bug submitter and the one in lp:941565 was trying to report since everyone that has ran into this seems to be using an amd64 system and running the 32bit wine.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Ahh, than you micove that answers it perfectly.

Changed in wine1.4 (Ubuntu):
assignee: nobody → Scott Ritchie (scottritchie)
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Scott Ritchie (scottritchie) wrote :

I have put an explicit depends in the control field, however I feel like this bug shouldn't have to be solved in the Wine package itself.

The reason is that libncurses5 is a priority: required package, which means it should probably be installed along with any package of its arch.

Changed in wine1.4 (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wine1.4 - 1.4~rc6-0ubuntu1

---------------
wine1.4 (1.4~rc6-0ubuntu1) precise; urgency=low

  * New upstream release
    - Bug fixes only, we are in code freeze.
  * debian/control:
    - explicitly depend on libncurses5 (LP: #938310)
    - bump breaks/replaces to packages before rc6
 -- Scott Ritchie <email address hidden> Sun, 04 Mar 2012 19:51:50 -0800

Changed in wine1.4 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.