I don't know if there was a formatting issue, but "ldd /usr/lib64/sssd/ | grep
nss" makes no sense, because you're running ldd on a directory. And then if you
grep for nss, why does it print a bunch of lines that don't contain nss string in it?
Are you running the build on CentOS-7 as well, or some other platform?
What do you get if you build with sssd-2.2.3 as this is what I'm using since this is
the latest stable release.