libharfbuzz linking error when trying to compile FFmpeg.
So, I'm trying to compile a custom build of FFmpeg, but whenever it gets to the executable linking stage, it fails with the following message:
/usr/lib/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var'
/usr/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates'
collect2: error: ld returned 1 exit status
make: *** [Makefile:107: ffmpeg_g] Error 1
I'm running Manjaro GNU/Linux, all of my packages are up to date, and I'm building from the latest official Git commit. My freetype and harfbuzz packages are both from the official Manjaro repositories and are up-to-date - from what I've read, this error usually occurs with unofficial freetype and harfbuzz builds, which is not the case.