Skip to content

Instantly share code, notes, and snippets.

@bliz937
Last active October 27, 2015 18:25
Show Gist options
  • Save bliz937/e2c885cf7384804cb50c to your computer and use it in GitHub Desktop.
Save bliz937/e2c885cf7384804cb50c to your computer and use it in GitHub Desktop.
Fix for error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

I manually updated ncurses without all the other packages. When running bash or ldd, I received

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

My fix was

ln -s /usr/lib/libncursesw.so.6 /usr/lib/libncursesw.so.5

I was running Arch Linux ARMv7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment