New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to build the MATLAB due to the load error of libmx #205
Comments
I am having this same problem. Were you able to find a solution? One issue is that you are using R2022a, which will yield an issue, but even when I changed ENV["MATLAB_ROOT"] = /Applications/MATLAB_R2021b.app the error persisted. |
Adding to this: |
Another update: It seems this is a more serious issue than expected. On the forum, people believe it is an issue with macOS. It seems that somehow, MATLAB.jl has become incompatible with certain versions of macOS. This is a more serious issue. |
Hi, thanks for your sharing. Recently, I tested Julia with the new MATLAB R2022b native apple silicon version. First change the environment with your code The output is:
From the repo of
I think the problem is the conflict between MATLAB (Rosetta version) and Julia (Native version). You may solve the problem by installing both MATLAB and Julia under x86 platform via Rosetta. Or maybe wait for the update of the package. |
I am getting the same error as @jxpeng98 with prerelease The last line missing from the above output is
I appreciate your hard work in releasing |
This error is because the So I replaced Sys.WORD_SIZE == 32 ? "maci" : "maci64" to archchar = Sys.ARCH == :aarch64 ? "a" : "i"
Sys.WORD_SIZE == 32 ? "maci" : "mac" * archchar * "64" Now
I get the same error when starting MATLAB from the terminal command line. Would someone else be able to give it a try and tell me what happens? |
The above change fixes it and runs correctly. I have placed a pull request. |
Can confirm that this fixes the issue for macos using the latest MATLAB R2023b pre-reslease version (native ARM)! |
sorry about the late fix merge. New tag version is in the works |
Hi,
Many thanks for this excellent package. I tried to add this pkg and build it, but I failed.
Here is the error report.
The Julia and system details:
The text was updated successfully, but these errors were encountered: