On Mon, 26 Jun 2023, أحمد المحمودي wrote:
Could this be related to #1023566 ?
No, I don't think so.
This other bug ticket is about Matlab shipping its own version of
libfreetype.so.6 which is older than version 2.11.0. Since Debian's
version of libharfbuzz.so.0 needs version 2.11.0 of libfreetype.so.6
at least because of function FT_Get_Transform(), Matlab is crashing.
This is because Matlab is setting $LD_LIBRARY_PATH for its own set of
libraries. There are only two solutions: either get rid of Matlab's
libfreetype.so.6 (as Drew Parsons has suggested) so that the runtime
linker takes Debian's libfreetype.so.6 or copy an older version of
libharfbuzz.so.0 to Matlab's own library path, e.g. libharfbuzz.so.0
from Debian 11 (bullseye).
Best regards,
Thomas Uhle