Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmenuw.so.5: cannot open shared object file: No such file or directory #485

Closed
alfredopalhares opened this issue Sep 28, 2015 · 9 comments
Labels

Comments

@alfredopalhares
Copy link

Hello,

I recently updated my Arch System, and updated all my gems. While starting sup, I got this message:

$ sup 
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require': libmenuw.so.5: cannot open shared object file: No such file or directory - /home/myuser/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/ncursesw-1.4.9/ncursesw_bin.so (LoadError)
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
  from /home/myuser/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/ncursesw-1.4.9/ncursesw.rb:23:in `<top (required)>'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
  from /home/myuser/.gem/ruby/2.2.0/gems/sup-0.22.1/bin/sup:6:in `<top (required)>'
  from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `load'
  from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `<main>'

The library just changed.

$ pacman -Ql | grep libmenu
lib32-ncurses /usr/lib32/libmenu.so
lib32-ncurses /usr/lib32/libmenuw.so
lib32-ncurses /usr/lib32/libmenuw.so.6
lib32-ncurses /usr/lib32/libmenuw.so.6.0
ncurses /usr/lib/libmenu.so
ncurses /usr/lib/libmenuw.so
ncurses /usr/lib/libmenuw.so.6
ncurses /usr/lib/libmenuw.so.6.0

Regards,
Alfredo Palhares

@gauteh
Copy link
Member

gauteh commented Sep 28, 2015

you probably need to recompile ruby ncurses or install ncurses compat

Alfredo Palhares writes on September 28, 2015 15:50:

Hello,

I recently updated my Arch System, and updated all my gems. While starting sup, I got this message:

$ sup 
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require': libmenuw.so.5: cannot open shared object file: No such file or directory - /home/myuser/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/ncursesw-1.4.9/ncursesw_bin.so (LoadError)
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
  from /home/myuser/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/ncursesw-1.4.9/ncursesw.rb:23:in `<top (required)>'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
  from /home/myuser/.gem/ruby/2.2.0/gems/sup-0.22.1/bin/sup:6:in `<top (required)>'
  from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `load'
  from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `<main>'

The library just changed.

$ pacman -Ql | grep libmenu
lib32-ncurses /usr/lib32/libmenu.so
lib32-ncurses /usr/lib32/libmenuw.so
lib32-ncurses /usr/lib32/libmenuw.so.6
lib32-ncurses /usr/lib32/libmenuw.so.6.0
ncurses /usr/lib/libmenu.so
ncurses /usr/lib/libmenuw.so
ncurses /usr/lib/libmenuw.so.6
ncurses /usr/lib/libmenuw.so.6.0

Regards,
Alfredo Palhares


Reply to this email directly or view it on GitHub:
#485

@alfredopalhares
Copy link
Author

I did rebuild the gem with:

$ gem pristine ncursesw
Restoring gems to pristine condition...
Building native extensions.  This could take a while...
Restored ncursesw-1.4.9

Also did that to the sup gem, the problem still persists.

@timonv
Copy link
Contributor

timonv commented Sep 28, 2015

I had the same problem on arch today. Make sure you shell out first. I did a gem pristine --all, then had to reinstall sup, which worked.

@maxmeyer
Copy link

Same for me as well. Re-install of sup was neccessary.

@gauteh gauteh added the notsup label Sep 28, 2015
@alfredopalhares
Copy link
Author

Ok, after a few tries, I got it, to remove sup and to remove and reinstall the ncusrsesw gem. A gem pristine ncursesw (or a --all for that matter).

After that I had to redo the psych uninstall

This seems to be a problem for ncursesw.

@alfredopalhares
Copy link
Author

Opened an issue on the proper place, @gauteh I think this issue can be closed.

@gauteh gauteh closed this as completed Sep 29, 2015
@gauteh
Copy link
Member

gauteh commented Sep 29, 2015

This could probably go in the troubleshooting section of the wiki.

@rakoo
Copy link

rakoo commented Oct 2, 2015

@alfredopalhares
Copy link
Author

@rakoo
everything-fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants