You are not logged in.
Ignore, silly me!
Last edited by deanp (2015-09-18 20:09:05)
Offline
Yea I got this error on upgrade:
( 1/48) upgrading ncurses [--------------------------------] 100%
( 2/48) upgrading readline [--------------------------------] 100%
/usr/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 3/48) upgrading bash [--------------------------------] 100%I think the problem is with readline, not python, though.
Last edited by weirddan455 (2015-09-18 16:52:31)
Offline
All works fine here ([testing] enabled). Did you use python3 or python2? Did you start a new termianl emulator window after the update?
Problem looks to be temporarily fixed by:
ln -s libncursesw.so.6 libncursesw.so.5in /usr/lib/
Looks like python needs to get built against the new ncurses?
That's not a fix, that is what will break your system soon or later...
Please, see also https://bbs.archlinux.org/viewtopic.php?id=202562
--edit: it works fine even in a clean chroot
Last edited by mauritiusdadd (2015-09-18 16:58:00)
Offline
> I updated bash, readline, ncurses, etc. today.
How exactly?
> Looks like python needs to get built against the new ncurses?
It was, and had you run a normal 'pacman -Syu' you would have noticed.
1000
Offline
Same problem here - just ran pacman -Syu and got the exact same reported output as @weirddan455:
[2015-09-18 07:26] [PACMAN] Running 'pacman --color=auto -Syu'
[2015-09-18 07:26] [PACMAN] synchronizing package lists
[2015-09-18 07:27] [PACMAN] starting full system upgrade
[2015-09-18 07:58] [ALPM] transaction started
[2015-09-18 07:58] [ALPM] upgraded ncurses (5.9-7 -> 6.0-3)
[2015-09-18 07:58] [ALPM] upgraded readline (6.3.008-1 -> 6.3.008-3)
[2015-09-18 07:58] [ALPM-SCRIPTLET] /usr/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
[2015-09-18 07:58] [ALPM] upgraded bash (4.3.042-1 -> 4.3.042-3)
[2015-09-18 07:58] [ALPM] upgraded psmisc (22.21-2 -> 22.21-3)
[2015-09-18 07:58] [ALPM] upgraded alsa-utils (1.0.29-1 -> 1.0.29-2)
[2015-09-18 07:58] [ALPM] upgraded aspell (0.60.6.1-2 -> 0.60.6.1-3)
[2015-09-18 07:58] [ALPM] upgraded less (479-1 -> 481-2)
[2015-09-18 07:58] [ALPM] upgraded texinfo (5.2-3 -> 5.2-4)
[2015-09-18 07:58] [ALPM] upgraded libtasn1 (4.6-1 -> 4.7-1)
[2015-09-18 07:58] [ALPM] upgraded gnutls (3.4.4.1-1 -> 3.4.5-1)
[2015-09-18 07:58] [ALPM] upgraded libutil-linux (2.26.2-1 -> 2.27-2)
[2015-09-18 07:58] [ALPM] upgraded libldap (2.4.42-1 -> 2.4.42-2)
[2015-09-18 07:58] [ALPM] upgraded util-linux (2.26.2-1 -> 2.27-2)
[2015-09-18 07:58] [ALPM] upgraded libcups (2.0.4-1 -> 2.1.0-1)
[2015-09-18 07:58] [ALPM] upgraded gtk-update-icon-cache (3.16.6-1 -> 3.16.7-1)
[2015-09-18 07:58] [ALPM] upgraded libdrm (2.4.64-1 -> 2.4.65-1)
[2015-09-18 07:58] [ALPM] upgraded libedit (20150325_3.1-1 -> 20150325_3.1-2)
[2015-09-18 07:58] [ALPM] upgraded llvm-libs (3.6.2-3 -> 3.6.2-4)
[2015-09-18 07:58] [ALPM] upgraded mesa (10.6.6-1 -> 10.6.7-1)
[2015-09-18 07:58] [ALPM] upgraded mesa-libgl (10.6.6-1 -> 10.6.7-1)
[2015-09-18 07:58] [ALPM] upgraded graphite (1:1.3.1-1 -> 1:1.3.2-1)
[2015-09-18 07:58] [ALPM] upgraded python (3.4.3-2 -> 3.4.3-3)
[2015-09-18 07:58] [ALPM] upgraded chromium (45.0.2454.85-1 -> 45.0.2454.93-1)
[2015-09-18 07:58] [ALPM] upgraded cmus (2.7.1-1 -> 2.7.1-2)
[2015-09-18 07:58] [ALPM] upgraded cups-filters (1.0.75-1 -> 1.0.76-1)
[2015-09-18 07:58] [ALPM] upgraded cups (2.0.4-1 -> 2.1.0-1)
[2015-09-18 07:58] [ALPM] upgraded guile (2.0.11-2 -> 2.0.11-3)
[2015-09-18 07:58] [ALPM] upgraded gdb (7.10-1 -> 7.10-3)
[2015-09-18 07:58] [ALPM] upgraded gettext (0.19.5.1-1 -> 0.19.6-1)
[2015-09-18 07:58] [ALPM] upgraded git (2.5.1-1 -> 2.5.2-1)
[2015-09-18 07:58] [ALPM] upgraded pinentry (0.9.5-1 -> 0.9.5-2)
[2015-09-18 07:58] [ALPM] upgraded gnupg (2.1.7-1 -> 2.1.8-2)
[2015-09-18 07:58] [ALPM] upgraded gpm (1.20.7-4 -> 1.20.7-5)
[2015-09-18 07:58] [ALPM] upgraded gtk3 (3.16.6-1 -> 3.16.7-1)
[2015-09-18 07:58] [ALPM] upgraded vim-runtime (7.4.854-1 -> 7.4.854-2)
[2015-09-18 07:58] [ALPM] upgraded python2 (2.7.10-1 -> 2.7.10-2)
[2015-09-18 07:58] [ALPM] upgraded gvim (7.4.854-1 -> 7.4.854-2)
[2015-09-18 07:58] [ALPM] upgraded hunspell (1.3.3-1 -> 1.3.3-2)
[2015-09-18 07:58] [ALPM] upgraded inetutils (1.9.4-1 -> 1.9.4-2)
...edit: included more log details to show python and python2 upgrades as well
Last edited by twelveeighty (2015-09-18 18:13:01)
Offline
https://bbs.archlinux.org/viewtopic.php … 1#p1563031
is a quick fix for the problem
Offline
Come on guys, there is no "problem".
The message "error while loading shared libraries: libncursesw.so.5" does no harm and appears on every major ncurses rebuild.
The only thing requiring manual user action would be the existence of AUR packages linked against ncurses.
Find them with
for PKG in $(pacman -Qqm); do if (pacman -Qi $PKG | grep -q ncurses); then echo $PKG; fi; done1000
Offline
All works fine here ([testing] enabled). Did you use python3 or python2? Did you start a new termianl emulator window after the update?
deanp wrote:Problem looks to be temporarily fixed by:
ln -s libncursesw.so.6 libncursesw.so.5in /usr/lib/
Looks like python needs to get built against the new ncurses?
That's not a fix, that is what will break your system soon or later...
Please, see also https://bbs.archlinux.org/viewtopic.php?id=202562--edit: it works fine even in a clean chroot
Of course. I needed a quick access to Python readline module for work, I wasn't posting this as a solution.
Anyways: byte is correct, and I'm an idiot. My non-root account points off to anaconda python, I totally forgot! ~_~
Last edited by deanp (2015-09-18 20:08:31)
Offline
Come on guys, there is no "problem".
The message "error while loading shared libraries: libncursesw.so.5" does no harm and appears on every major ncurses rebuild.
Fair enough. Just so I can better analyze this error in the future, how can I tell where exactly this error is thrown during pacman updates to see if these "error while loading shared libraries" errors are harmless or not? I checked the PKGBUILD and readline.install files for the readline package and it's not obvious to me where that error is thrown?
Offline
Install scripts are bash scripts, so the bash instance spawned to run the script failed.
Offline
Come on guys, there is no "problem".
The message "error while loading shared libraries: libncursesw.so.5" does no harm and appears on every major ncurses rebuild.The only thing requiring manual user action would be the existence of AUR packages linked against ncurses.
Find them withfor PKG in $(pacman -Qqm); do if (pacman -Qi $PKG | grep -q ncurses); then echo $PKG; fi; done
Thanks. This helped me identify a program I had installed from AUR that had this dependency.
And to be painfully explicit, once you find a package(s) with the command above, re-install the package(s).
At least that's what worked for me (after re-installing "readline", that is).
Offline
Ignore, silly me!
Please don't blank your posts. If you want to redact your post, use the strikeout or del bbcode and then explain why you are redacting it. https://wiki.archlinux.org/index.php/Fo … way_street
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline