> I had fontconfig 2.9.0-7.1. > I have installed libfontconfig1-dev but it doesn't seem to work.
You should have in your system a file called fontconfig.pc. In my machine I have it in /usr/X11R7/lib/pkgconfig/fontconfig.pc. See if your file is in a directory contained in PKG_CONFIG_PATH.
