After a recent update of my Manjaro OS, I’m unable to open Matlab.
I get the following error message:
MATLAB is selecting SOFTWARE OPENGL rendering.
/usr/local/MATLAB/R2019b/bin/glnxa64/MATLAB: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
It was working fine previously, not sure how to fix this now.
These are my system specifications:
Host: ■■■■■■■■■■■ Kernel: 5.18.5-1-MANJARO arch: x86_64 bits: 64
Desktop: GNOME v: 42.2 Distro: Manjaro Linux
Type: Laptop System: Acer product: Predator PH315-51 v: V1.24
serial: <superuser required>
Mobo: CFL model: Sienta_CFS v: V1.24 serial: <superuser required>
UEFI: Insyde v: 1.24 date: 12/05/2018
ID-1: BAT1 charge: 22.3 Wh (79.1%) condition: 28.2/48.9 Wh (57.5%)
volts: 15.2 min: 15.2
Info: quad core Intel Core i5-8300H [MT MCP] speed (MHz): avg: 905
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
Device-3: Realtek USB Boot type: USB driver: N/A
Display: x11 server: X.org v: 188.8.131.52 with: Xwayland v: 22.1.2 driver:
X: loaded: intel gpu: i915 resolution: 1920x1080~60Hz
Message: Unable to show GL data. Required tool glxinfo missing.
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
Local Storage: total: 1.03 TiB used: 89.37 GiB (8.5%)
Processes: 241 Uptime: 5m Memory: 7.61 GiB used: 2.49 GiB (32.7%)
Shell: Bash inxi: 3.3.18
I think the search function should give you a solution.
I did try searching, but I have not found any solution
Some time ago there was a change which involved libcrypt - so using the search function to search for libcrypt related issues are most likely to provide the solution.
Another thing - matlab is a custom package - and thus unsupported.
thank you @mithrial , I used the following command from that thread:
sudo pacman -S libxcrypt-compat
Now my MATLAB opens, but the documentation has switched to a basic html version. I am also not able to run livescripts.
I did not face this issue before my most recent Manjaro packages update.
I have anyway put forth my issues in the MATLAB community.
The MathWorks Technical Support team got back to me with useful information:
I understand that you are facing issues with the Matlab documentation and MATLAB® live scripts, after a recent update in your OS.
As per my understanding, the first issue seemed to have occurred due to installed libgcrypt.so files of older version.
As a workaround, please update the libgcrypt.so files to libgcrypt.so 1.8.1 to resolve the issue.
For your second query, the issue seemed to have occurred due to undefined symbol or missing library in your MATLAB installation.
Since the release of Ubuntu 17.04, the libgconf-2.so.4 library does not get installed unless it was already on the system prior to an upgrade.
However, this library is needed by the Live Editor in order to run and this could be the missing library in your configuration.
As a workaround, please execute the following command in the terminal to install the missing library (libgconf-2.so.4):
sudo apt-get install libgconf2-4
Additionally, also install the libselinux from the AUR.
I already have libselinux installed.
To fix my issues, I’m unable to install
I would really appreciate any help to go about this! @mithrial @linux-aarhus
Manjaro provides libgcrypt 1.10.1, so an “update” to 1.8. is not possible.
You could test with a downgrade to 1.5 by
pamac install libgcrypt15.
I can’t find anything on libgconf.
Their support is weird. Update to an older version? Using apt to install a package but then recommend the AUR? What?
It might so solvable with installing gconf from the AUR:
pamac build gconf
… and possibly libselinux:
pamac build libselinux
Did you read the Wikipage: MATLAB - ArchWiki
Thanks for the alternatives!
But unfortunately, my issue still persists even after installling libcrypt15, gconf and libselinux.
I had gone through the Matlab ArchWiki once before, but back then I did not face these issues.
Just the latest update of Manjaro has messed up my Matlab livescripts and documentation
A rolling distro is not the best choice to run software which doesn’t update. Use some Ubuntu LTS or similar.