I'm installing rcssmonitor for soccer2d sim and there is a problem in making this project, here's the error:
/usr/bin/ld: cannot find -lfontconfig
collect2: error: ld returned 1 exit status
Makefile:477: recipe for target 'rcssmonitor' failed
make: *** [rcssmonitor] Error 1
make: Leaving directory '/rccserver/rcssmonitor/src'
Makefile:382: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
make: Leaving directory '/rccserver/rcssmonitor'
Makefile:322: recipe for target 'all' failed
make: *** [all] Error 2
In a fresh enough Debian/Ubuntu the required package is called
apt install libfontconfig1-dev (almost) as @krzaq suggested.
But likely you will need other development packages as well. If linker blames on
-lsome, then you need a shared library
libsome.so, usually located in
/usr/lib32 (there could be other variations like
/usr/lib64 etc). Perhaps the easiest way to understand what package a given file belongs to is to install apt-file package and then to query required libraries.