@Kakadus, thank you for the report, I've just pushed a fix.
Search Criteria
Package Details: matlab 1:R2026a+26.1.0.3346908-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/matlab.git (read-only, click to copy) |
|---|---|
| Package Base: | matlab |
| Description: | A high-level language for numerical computation and visualization |
| Upstream URL: | https://www.mathworks.com/products/matlab.html |
| Keywords: | computation matlab numerical visualization |
| Licenses: | custom:MATLAB EULA |
| Conflicts: | matlab-r2026a |
| Provides: | matlab-r2026a, matlab-release, matlab-version |
| Submitter: | ido |
| Maintainer: | vitaliikuzhdin |
| Last Packager: | vitaliikuzhdin |
| Votes: | 42 |
| Popularity: | 0.78 |
| First Submitted: | 2015-08-15 09:33 (UTC) |
| Last Updated: | 2026-09-19 14:47 (UTC) |
Dependencies (10)
- matlab-metaAUR
- sh (dashbinshAUR, zshbinshAUR, bash-gitAUR, bash-devel-gitAUR, bash)
- gendesk (make)
- inotify-tools (inotify-tools-gitAUR) (make)
- matlab-mpmAUR (make)
- patchelf (patchelf-gitAUR) (make)
- java-matlabAUR (matlab-supportAUR) (optional) – Java components, required for certain products and features
- matlab-gccAUR (matlab-gcc-supportAUR) (optional) – GCC runtime dependency
- matlab-gcc-fortranAUR (matlab-gcc-fortran-supportAUR) (optional) – GCC Fortran runtime dependency
- matlab-meta-allAUR (optional) – all runtime dependencies
Required by (25)
- comsol-multiphysics (optional)
- digital_rf-git (optional)
- diplib-git (optional)
- java-matlab
- matlab-batch
- matlab-batch (requires matlab-release)
- matlab-dipimage
- matlab-documentation (requires matlab-release)
- matlab-gcc
- matlab-gcc-fortran
- matlab-gurobi (requires matlab-release)
- matlab-language-server (requires matlab-release)
- matlab-mcp-server (requires matlab-release)
- matlab-mcp-server-bin (requires matlab-release)
- matlab-mcp-server-git (requires matlab-release)
- matlab-proxy (requires matlab-release)
- matlab-segymat (optional)
- matlab-spm
- matlab-terminal-server (requires matlab-release)
- matlab-terminal-server-bin (requires matlab-release)
- Show 5 more...
Sources (0)
vitaliikuzhdin commented on 2026-09-19 15:01 (UTC)
loqy commented on 2026-09-14 05:59 (UTC)
@Kakadus , I tried to patch MathWorksProductAuthorizer with the commands you included but it still seems to attempt to load libleancrypto.so.1 after doing so. Do you know why this is happening?
Kakadus commented on 2026-09-13 23:17 (UTC) (edited on 2026-09-13 23:18 (UTC) by Kakadus)
I also had some issues using matlab R2026a Update 5 (26.1.0.3346908), with the crash mentioned by ucrus.
libleancrypto.so.1 does not seem to exist: https://archlinux.org/packages/core/x86_64/leancrypto/files/, also:
> ls /usr/lib64/libleancrypto.so*
/usr/lib64/libleancrypto.so@ /usr/lib64/libleancrypto.so.1.9@ /usr/lib64/libleancrypto.so.1.9.0*
Running MathWorksProductAuthorizer errors with MathWorksProductAuthorizer: error while loading shared libraries: libleancrypto.so.1: cannot open shared object file: No such file or directory. Switching to libleancrypto.so.1.9 or libleancrypto.so directly fixed this for me
Workaround:
cd /opt/MATLAB/R2026a/bin/glnxa64
sudo patchelf --remove-needed libleancrypto.so.1 MathWorksProductAuthorizer
sudo patchelf --add-needed libleancrypto.so.1.9 MathWorksProductAuthorizer
vitaliikuzhdin commented on 2026-08-19 08:04 (UTC)
@ucrus, do you have the latest version? I've added a fix for this a while ago. FYI, the pkgver (at least the latter half of it) is dynamic, you need to manually run makepkg to update it even if no changes to the PKGBUILD itself were made. If you are indeed using the latest version of both MATLAB and this package, please scroll through the Arch forums. You've edited your message to exclude the stack trace, but searching for _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE will be helpful. Please report exactly what you've tried and where it got you back so that I can fix this for everyone, if it still occurs on some setups.
ucrus commented on 2026-08-18 21:40 (UTC) (edited on 2026-08-18 21:43 (UTC) by ucrus)
I installed the optional dependencies (meta, gcc, gcc-fortran, java) and tried to activate the software by entering my email, but the application closed when I clicked the ACTIVATE button; now I cannot open MATLAB either.
[uriel@honorpc-l ~]$ MathWorksProductAuthorizer´
Violación de segmento (core' generado) MathWorksProductAuthorizer
[uriel@honorpc-l ~]$ matlab
Segmentation violation detected at 2026-08-18 14:34:25 -0700
sxyzy1016 commented on 2026-07-13 17:41 (UTC)
Thanks a lot for your reply. I tried using Windows and Ubuntu but get the exact same error with --platform=glxna64 and --platform=win64, maybe they put a broken file on the server side? But finally found that arduinomodbus-nucleo-discovery.instrset_common_1763610791.enc belongs to product STM32_Microcontroller_Blockset, comment it out in PKGBUILD and things works now.
vitaliikuzhdin commented on 2026-07-13 09:24 (UTC) (edited on 2026-07-13 09:26 (UTC) by vitaliikuzhdin)
@sxyzy1016, I cannot reproduce the error installing just MATLAB without any additional products. What products/toolboxes are you installing? Do you have enough space, namely your /home partition: https://www.mathworks.com/support/requirements/matlab-system-requirements.html
The error doesn't actually come from makepkg but from the MPM (${tmpdir}/mathworks_${USER}.log). Try using MPM manually to see if you get the same error: https://wiki.archlinux.org/title/MATLAB#Installing_with_MATLAB_Package_Manager_(MPM) If you are still getting the error, it's nothing I can work on with this AUR package. Try replicating the issue in an officially supported environment (using Ubuntu or any other Linux-based distro they support) and if you get the same issue, report it upstream: https://github.com/mathworks-ref-arch/matlab-dockerfile/issues. If it doesn't happen with Ubuntu, you might want to check out this: https://wiki.archlinux.org/title/MATLAB#MATLAB_in_a_systemd-nspawn
Also, have you tried this: https://wiki.archlinux.org/title/MATLAB#Installation_error:_archive_is_not_a_ZIP_archive
sxyzy1016 commented on 2026-07-13 09:09 (UTC)
Hello I run into this issue when makepkg:
-> Extraction of 3P instruction set failed
-> Error: Unable to download third-party software because failed to extract: /home/sxyzy/matlab/src/download/archives/3p/arduinomodbus-nucleo-discovery.instrset_common_1763610791.enc due to: archive_read_open_filename(): Unrecognized archive format
tried using different Internets(my workplace and my home), and different archlinux(arch in WSL2, freshly installed arch in vbox) but got exactly the same issue. checked matlab/src/download/archives/3p/ and there are arduinomodbus-nucleo-discovery.instrset_common_1763610791.enc and arduinomodbus-nucleo-discovery.instrset_common_1763610791.xml just like other files in the directory. I googled it a lot but found nothing, even in matlab's forum. Does anyone have similar issues?
vitaliikuzhdin commented on 2026-06-14 10:18 (UTC)
@CloverGit, thanks a lot, added to the PKGBUILD.
CloverGit commented on 2026-06-13 20:08 (UTC) (edited on 2026-06-13 20:08 (UTC) by CloverGit)
MathWorksProductAuthorizer has a similar lc_init symbol conflict, but in the opposite direction: gnutls may resolve lc_init to libmwinstall_activationwsclientimpl.so::lc_init instead of libleancrypto.so.1::lc_init, causing a crash.
Workaround:
cd /opt/MATLAB/R2026a/bin/glnxa64
sudo patchelf --add-needed libleancrypto.so.1 MathWorksProductAuthorizer
Pinned Comments