polybar-dwm-module icon indicating copy to clipboard operation
polybar-dwm-module copied to clipboard

error while loading shared libraries: libjsoncpp.so.24

Open aleister888 opened this issue 3 years ago • 4 comments

polybar: error while loading shared libraries: libjsoncpp.so.24: cannot open shared object file: No such file or directory

using jsoncpp 1.9.5-1 and latest AUR polybar-dwm-module-package, downgrading jsoncpp 1.9.4 solves the issue, it seems https://github.com/polybar/polybar/issues/2051#issuecomment-610364650 this is the problem, but recompiling using yay --answerclean/--rebuildall doesnt solve it

aleister888 avatar Feb 06 '22 09:02 aleister888

Facing same error. please resolve

pushpraj-rmx avatar Feb 11 '22 03:02 pushpraj-rmx

polybar: error while loading shared libraries: libjsoncpp.so.24: cannot open shared object file: No such file or directory facing same error using jsoncpp 1.9.5-1 and latest AUR polybar-dwm-module-package, downgrading jsoncpp 1.9.4 solves the issue, it seems polybar#2051 (comment) this is the problem, but recompiling using yay --answerclean/--rebuildall doesnt solve it

did you find any solution ?

pushpraj-rmx avatar Feb 11 '22 03:02 pushpraj-rmx

Delete the the directory '~/.cache/yay/polybar-dwm-module' rebuild polybar using yay -Su polybar-dwm-module It solves the issue, and there is no need to downgrade any package. Just rebuild polybar.

If it solves you issue, please let me know and mark as solved.

pushpraj-rmx avatar Feb 11 '22 03:02 pushpraj-rmx

no, it doesn't, --answerclean deletes cache already, nvm manually deleting doesnt solve the issue neither

aleister888 avatar Feb 11 '22 06:02 aleister888