On Mon, Jun 05, 2006 at 08:57:55AM -0300, Salvador Eduardo Tropea wrote:
> >Anyway, it's unlikely that it has any dependency on ncurses...
> $ ldd /usr/bin/mc
>        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40018000)
>        libdl.so.2 => /lib/tls/libdl.so.2 (0x4001d000)
>        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40020000)
>        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x400a0000)
>        libnsl.so.1 => /lib/tls/libnsl.so.1 (0x400a6000)
>        libc.so.6 => /lib/tls/libc.so.6 (0x400ba000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x401ef000)

gpm has a spurious linkage to ncurses, which has been removed in recent
packages.  If mc's using slang (which iirc it does for all versions of the
Debian packages), it cannot execute anything in ncurses via that linkage.

If it's using the bundled slang, it won't show up via ldd, but
'strings' or 'nm' on the executable will show it - there won't be
any 'initscr' or 'newterm' symbols.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpOV4MzI9CNW.pgp
Description: PGP signature

Reply via email to