The linking stage is failing because it isn linking in the freetype library. What to do?
This is, yet again, an ImageMagick problem. ImageMagick as installed on some systems needs this library linked in. The “Magick-config” script is supposed to supply a list of all of the libraries that ImageMagick needs, but evidently they forgot one. To get around this problem, you can add “-lfreetype” to the link line to get the compile to complete.