Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46565 - error while loading shared libraries: libncursesw.so.5

Attached to Project: Arch Linux
Opened by NICOLAS LAMIRAULT (nlamirault) - Monday, 05 October 2015, 08:57 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 06 October 2015, 16:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Can't start emacs :

$ emacs
emacs: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Creating a link libncursesw.so.5 emacs can start :

$ cd /usr/lib
$ ls §usr/lib/libncurses*
libncurses.so libncurses++.so libncurses++w.so libncursesw.so libncurses++w.so.6 libncursesw.so.6 libncurses++w.so.6.0 libncursesw.so.6.0
* sudo ln -s libncursesw.so.6 libncursesw.so.5


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce: install emacs 24.5.2


This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 06 October 2015, 16:27 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Monday, 05 October 2015, 11:20 GMT
Never create library symlinks. [1]

Now, to figure out what links to libncursesw.so.5, run the following in a terminal:

$ LD_DEBUG=files emacs |& grep libncursesw.so.5

If it's indeed the emacs binary then you're not using the package from the repos since all official packages were rebuilt for ncurses 6.0.

[1] https://www.reddit.com/r/archlinux/comments/3ldn52/issues_after_huge_system_update/cv5fvf7

Loading...