Error Building "makefile" : cant find some library

I’d remove any ROOT setup from bashrc and only do it when necessary. It usually causes problems.