Gh0str1d3r wrote:
since today, I can't start mathematica on my gentoo linux machine. It gives the following error:
Code: Select all
/usr/local/Wolfram/Mathematica/11.3/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: symbol lookup error: /usr/lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var
I discovered the source of the problem. Mathematica includes its own freetype.so.6 library in the directory ${TopDirectory}/SystemFiles/Libraries/Linux-x86-64. This freetype library will call the system fontconfig which will give the error.
To fix this, just remove or rename the mathematica freetype.so.6 library. This will force Mathematica to use the system freetype library.
This solution will allow one to keep the latest freetype-2.9 and no downgrade will be necessary.
If Mathematica gives other errors on startup, like with libz.so, check if that library is installed in ${TopDirectory}/SystemFiles/Libraries/Linux-x86-64 and if so then remove or rename it.
I hope this helps.