Cannot execute cmake, fails to link some kind of library
So, i just want to use  cmake as my C++ build System, but, when trying to run 
cmake --version after installing it, it says:
what? i already do that pkg up command, that's seems doesn't do anything, anyone can help me?4 Replies
Maybe 
apt reinstall cmake
that's doesn't work, btw, i change the default package manager to pacman tho, but that's, i think, not the issue, I guess
Try 
pacman -Syudoesn't work either, it's strange that it doesn't work for no  clear reason, it may missing a dependency or what, idk.
maybe this cmake package need to be rebuild, or if it just pacman couldn't get the dependency right, i don't know
also, did the cmake work in your device?
i guess this issue because of jsoncpp, because i try to install other package that has this package as dependency, like Luanti, it will fail:
i guess i had to file an issue on GitHub?