Issues after clean building polybar
polybar: error while loading shared libraries: libjsoncpp.so.22: cannot open shared object file: No such file or directory
I get this error message after clean building polybar. I know that this is a common issue and the fix for it is to clean build polybar. I tried to install by building from source and ran into "error 2" with random errors throughout the code. This error is output after a successful installation using yay.
About this post
- Posted
- Archived
- Score
- 0 · 33% up
- Kind
- Text
- ID
- inakph
3 comments
How are you clean building it? Are you cloning the repo and building it?
I did exactly that and I still got the same error when trying to run the launch script.
Do you maybe have multiple versions of polybar installed? Because the error message you are getting cannot come from a clean install on an up-to-date arch system. libjsoncpp.so.22 is no longer shipped with jsoncpp since I think June.