MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
MagickToMime() is exported in the libMagick library. Not sure why but it looks like you build is missing -lMagick which would include the libMagick library and resolve the missing symbol.