Jump to content

Matlab 2021a fixes for AMD based hackintosh


tomnic

Recommended Posts

  • Moderators

The fix is divided in two parts, as a prerequisite disable SIP for now:

 

1. Fix the installer

A. Download pacifist https://www.charlessoft.com/cgi-bin/pacifist_download.cgi?vers=3.6.2&type=zip install it and after mounting the matlab_R2021a_maci64.dmg go inside the icon InstallForMacOSX.app -> Show package contents -> Contents -> MacOS, open InstallForMacOSX with Pacifist;

B. Drag the InstallForMacOSX root folder to your desktop and rename it to InstallForMacOSX;

C. Overwrite the two files libtbb.dylib and libtbbmalloc.dylib inside Desktop -> InstallForMacOSX -> bin -> maci64 with my two patched revisions attached here;

D. Launch InstallForMacOSX.app inside your extracted desktop InstallForMacOSX folder and install whatever component you want;

E. Append .app extension to the folder where you've installed Matlab.

 

2. Fix the actual installed app

A. Go inside your Applications folder -> MATLAB_R2021a.app -> sys -> os -> maci64 and replace the libiomp5.dylib with my patched revision attached here;

B. Again go inside the Application folder -> MATLAB_R2021a.app -> bin -> maci64 and replace libtbb.dylib, libtbbmalloc.dylib, mkl.dylib, blas.spec and lapack.spec too.

 

Enjoy!

 

 

blas.spec.zip lapack.spec.zip libtbb.dylib.zip libtbbmalloc.dylib.zip mkl.dylib.zip libiomp5.dylib.zip

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.