When I compile a program that use freetype it search the header in /usr/include/freetype/config/
but the headers are in/usr/include/freetype2/freetype/config/
so in file ftheader.h in /usr/include/freetype2/freetype/config/
u must add a prefix "freetype2/" in the #include <freetype/.....>
I have found this bug when I have tried to compile blender...