Whilst attempting to compile poppler from source I get the error Package fontconfig not found.I have found a lot of other resources advertising that this can be fixed by installing both pkg-config and libfontconfig1-dev to get the libraries, but I still got the error.Trying to install fontconfig from source failed at the make step and I've found no resources on how to fix (whole host of C errors).If I have fontconfig on the system (and apt seems to suggest I do) how can I use it when running ./configure for a package?
Package fontconfig not found despite having installed libfontconfig1-dev
configure;fontconfig;apt file