Hi, Sven.

On Apr 08 2012, Sven Joachim wrote:
> On 2012-04-08 16:58 +0200, Rogério Brito wrote:
> 
> > ,----
> > | (...)
> > | dpkg-shlibdeps -Tdebian/mplayer2.subsvars debian/mplayer2/usr/bin/mplayer 
> > | dpkg-shlibdeps: error: no dependency information found for 
> > /lib/libncurses.so.5 (used by debian/mplayer2/usr/bin/mplayer).
> > `----
> >
> > I am not really sure if this is a problem with dpkg-dev or with libncurses.
> > On this machine, /usr/libncurses.so.5 is present,
> 
> I think you mean /usr/lib/libncurses.so.5.

Oh, darn. That's /lib/libncurses.so.5, as dpkg-shlibdeps says.

> > but libtinfo is under /lib/powerpc-linux-gnu instead. I don't know if
> > this is only a red herring or if it is a real cause.
> 
> This is likely a leftover from bug #224450, although ldconfig is
> supposed to clean up the spurious symlink when you upgrade libncurses5*
> packages to 5.9-2 or later (it did that for me).  Which version of
> libncurses5-dev is installed on your system?

I have libncurses5-dev 5.9-5 here. Also, talking about symlinks or not, I
have:

,----[ ls -ld /lib /lib64 /usr/lib /usr/lib64 /lib/powerpc-linux-gnu 
/usr/lib/powerpc-linux-gnu ]
| drwxr-xr-x  18 root root  4096 Apr  7 13:21 /lib
| drwxr-xr-x   3 root root 12288 Apr  8 11:12 /lib/powerpc-linux-gnu
| drwxr-xr-x   2 root root  4096 Dec 30  2008 /lib64
| drwxr-xr-x 169 root root 98304 Apr  8 11:35 /usr/lib
| drwxr-xr-x  42 root root 36864 Apr  8 11:35 /usr/lib/powerpc-linux-gnu
| drwxr-xr-x   3 root root  4096 Mar  9 01:33 /usr/lib64
`----

None of the directories there are symlinks, as you can see. Regarding
libncurses* and libtinfo*, there's something fishy here:

,----[ ls -l /lib/libncurses* /usr/lib/powerpc-linux-gnu/libncurses* 
/lib/powerpc-linux-gnu/libncurses* /lib/powerpc-linux-gnu/libtinfo.so.5* 
/usr/lib/powerpc-linux-gnu/libtinfo.* ]
| lrwxrwxrwx 1 root root     17 Mar  9 00:54 /lib/libncurses.so.5 -> 
libncurses.so.5.6
| -rw-r--r-- 1 root root 248496 Sep  1  2008 /lib/libncurses.so.5.6
| lrwxrwxrwx 1 root root     18 Mar  9 01:07 /lib/libncursesw.so.5 -> 
libncursesw.so.5.6
| -rw-r--r-- 1 root root 301996 Sep  1  2008 /lib/libncursesw.so.5.6
| lrwxrwxrwx 1 root root     17 Mar 26 09:36 
/lib/powerpc-linux-gnu/libncurses.so.5 -> libncurses.so.5.9
| -rw-r--r-- 1 root root 133372 Mar 26 09:36 
/lib/powerpc-linux-gnu/libncurses.so.5.9
| lrwxrwxrwx 1 root root     18 Mar 26 09:36 
/lib/powerpc-linux-gnu/libncursesw.so.5 -> libncursesw.so.5.9
| -rw-r--r-- 1 root root 186804 Mar 26 09:36 
/lib/powerpc-linux-gnu/libncursesw.so.5.9
| lrwxrwxrwx 1 root root     15 Mar 26 09:36 
/lib/powerpc-linux-gnu/libtinfo.so.5 -> libtinfo.so.5.9
| -rw-r--r-- 1 root root 137796 Mar 26 09:36 
/lib/powerpc-linux-gnu/libtinfo.so.5.9
| -rw-r--r-- 1 root root 127732 Mar 26 09:36 
/usr/lib/powerpc-linux-gnu/libncurses++.a
| -rw-r--r-- 1 root root 207972 Mar 26 09:36 
/usr/lib/powerpc-linux-gnu/libncurses.a
| -rw-r--r-- 1 root root     31 Mar 26 09:36 
/usr/lib/powerpc-linux-gnu/libncurses.so
| -rw-r--r-- 1 root root 182578 Mar 26 09:36 
/usr/lib/powerpc-linux-gnu/libtinfo.a
| lrwxrwxrwx 1 root root     36 Mar 26 09:36 
/usr/lib/powerpc-linux-gnu/libtinfo.so -> /lib/powerpc-linux-gnu/libtinfo.so.5
`----

In particular, note that I have /lib/libncurses.so.5.6 and
/lib/powerpc-linux-gnu/libncurses.so.5.9.  I wonder where that .5.6 thing
came from that it wasn't removed, because:

,----[ dpkg -S /lib/libncurses.so.5.6 ]
| dpkg-query: no path found matching pattern /lib/libncurses.so.5.6.
`----

Seeing as I never install anything outside Debian, I don't know how it is
there (perhaps some fsck or whatever?).

I will try deleting those and seeing what happens.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to