You are not logged in.

#1 2026-05-12 13:29:24

Halunke098
Member
Registered: 2025-02-05
Posts: 2

[Solved] MATLAB failed to open file since update to nettle 4.0-1

Today I updated the system regularly and got the error "Unable to open this file in the current system configuration", while trying to open .m scripts in MATLAB. It has worked normally up to today's update. yikes 

I have tried the solution from ArchWiki as here, but unfortunately, this didn't help. sad

cd matlab_root/bin/glnxa64/
mv libfreetype.so.6 libfreetype.so.6.old

Does anyone have an idea how to fix this or how to debug this?

Last edited by Halunke098 (2026-05-13 23:00:47)

Offline

#2 2026-05-12 13:57:55

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,599
Website

Re: [Solved] MATLAB failed to open file since update to nettle 4.0-1

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2026-05-13 22:16:06

Halunke098
Member
Registered: 2025-02-05
Posts: 2

Re: [Solved] MATLAB failed to open file since update to nettle 4.0-1

After downgrading to 05/10 using pacman -Syyuu

Server = https://archive.archlinux.org/repos/2026/05/10/$repo/os/$arch

MATLAB now opens .m files again normally.

One of the following packages is causing the issue

warning: gnutls: downgrading from version 3.8.13-2 to version 3.8.13-1
warning: gst-plugins-bad-libs: downgrading from version 1.28.2-2 to version 1.28.2-1
warning: gst-plugins-base: downgrading from version 1.28.2-2 to version 1.28.2-1
warning: gst-plugins-base-libs: downgrading from version 1.28.2-2 to version 1.28.2-1
warning: gst-plugins-good: downgrading from version 1.28.2-2 to version 1.28.2-1
warning: gstreamer: downgrading from version 1.28.2-2 to version 1.28.2-1
warning: libelf: downgrading from version 0.195-1 to version 0.194-2
warning: libmd: downgrading from version 1.2.0-1 to version 1.1.0-2
warning: nettle: downgrading from version 4.0-1 to version 3.10.2-1

Does anyone have an idea how to figure out which one makes MATLAB unhappy? hmm

[Update:]
It turns out nettle 4.0-1 is causing the issue. Downloading older version from here and export it to MATLAB fixed this.

export LD_LIBRARY_PATH="/opt/MATLAB/nettle-3.10.2-1/usr/lib/:$LD_LIBRARY_PATH"

Last edited by Halunke098 (2026-05-13 22:58:03)

Offline

#4 Yesterday 02:20:55

daniel_shub
Member
Registered: 2012-06-21
Posts: 100

Re: [Solved] MATLAB failed to open file since update to nettle 4.0-1

Thank you for this. I just hit the issue today. We really should add something to the Wiki about how to bisect the ALA to find the problematic package and then how to download it and add it to the path some people don't try and run the library system wide.

Offline

#5 Yesterday 09:21:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,245

Re: [Solved] MATLAB failed to open file since update to nettle 4.0-1

Moderator Note
Closing this thread.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB