The configure script was complaining about it. 

    ==> ./configure --with-proj=/usr/local/opt/proj
    checking for fork... yes
    checking for xml2-config... /usr/bin/xml2-config
    checking for xml2 libraries... yes
    checking for zlib compression library... no
    configure: error: required library not found