curses! foiled again

Jonathan Corbet lwn-ft at lwn.net
Fri Feb 23 18:16:41 UTC 2007


So today I updated my x86-64 rawhide system, then figured I'd run emacs
for a bit:

  % emacs
  emacs: error while loading shared libraries: /usr/lib64/libncurses.so.5: file too short

Foiled again.  Time to investigate...

  % cd /usr/lib64
  % ls -l *curses*
  -rw-r--r-- 1 root root     17 2007-02-19 06:17 libcurses.so
  lrwxrwxrwx 1 root root     14 2007-02-20 09:30 libcursesw.so -> libncursesw.so
  lrwxrwxrwx 1 root root     27 2007-02-20 09:30 libncurses.so -> ../../lib64/libncurses.so.5
  lrwxrwxrwx 1 root root     12 2006-12-02 10:23 libncurses.so.5 -> libcurses.so
  lrwxrwxrwx 1 root root     16 2007-02-20 09:30 libncursesw.so -> libncursesw.so.5
  lrwxrwxrwx 1 root root     18 2007-02-20 09:29 libncursesw.so.5 -> libncursesw.so.5.6
  -rwxr-xr-x 1 root root 278536 2007-02-19 06:17 libncursesw.so.5.6

libncurses.so.5 points to libcurses.so (without an "n") which is,
indeed, a short file:

  % cat libcurses.so
  INPUT(-lncurses)

That's rather short of the entry points I would ordinarily expect to
find in a curses library.  Plus it's an ascii file.

My ncurses packages verify fine, so I don't *think* this is a
locally-hosed system.

jon




More information about the fedora-test-list mailing list