16👍
✅
For Ubuntu 20 and Debian based distro, try:
sudo apt-get install libpangocairo-1.0-0
0👍
The solution was to remove libfreetype.so.6
file from home/user/anaconda3/envs/myvenv/lib
directory (idea taken from https://kb.tecplot.com/2019/09/11/undefined-symbol-ft_done_mm_var/)
0👍
For anyone coming here that is getting the error:
/lib/x86_84-linux-gnu/libcairo.so.2: undefined symbol: FT_Done_MM_Var
Run the command:
sudo find / -name *freetype*
As Uli Schlachter mentioned it’s due to fonts being built in a newer version and used in an older version.
I used alis01’s comment to find out that for me:
/usr/lib/jvm/java-8-openjdk/jre/lib/amd64/libfreetype.so.6
was causing the issue. I renamed it to libfreetype.so.6.bak and all has been well since.
Source:stackexchange.com