[FFmpeg-user] libharfbuzz linking error when trying to compile FFmpeg.

Victor Carneiro Fardim victorcarneiro at protonmail.com
Thu Apr 5 00:13:52 EEST 2018


Hello.

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:

LD ffmpeg_g
/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.

My ./configure command looks like this:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ && ./configure --prefix=/usr --enable-gpl --enable-version3 --enable-libopus --enable-libcodec2 --enable-libmp3lame --enable-libx265 --enable-libaom --enable-libfreetype --enable-libvpx --enable-libv4l2 --enable-libx264 --enable-libass --enable-libpulse --enable-libvorbis --enable-libwebp --enable-libtheora

I'd appreciate your help with this problem. I'll also be posting this issue on the Manjaro forums to see if anyone is able to reproduce/give me some insight on the problem.

Thanks in advance and good encodes for all of you,

Victor Carneiro


More information about the ffmpeg-user mailing list