MATLAB R2012a LAPLACK BLAS load error Mac OSX Lion

2 views (last 30 days)
I just installed MATLAB R2012a on a relatively new MacBook with OSX Lion. Install and activation was clean. The first thing I tried to run was "bench" in order to verify the install. I was surprised when bench crashed with the following error:
libmwlapack: load error: dlopen(mkl.dylib, 1): no suitable image found. Did find:
/Applications/MATLAB_R2012a.app/bin/maci64/mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
/Applications/MATLAB_R2012a.app/bin/maci64/./mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
/Applications/MATLAB_R2012a.app/bin/maci64/./mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
Caught "std::exception" Exception message is:
dlopen(mkl.dylib, 1): no suitable image found. Did find:
/Applications/MATLAB_R2012a.app/bin/maci64/mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
/Applications/MATLAB_R2012a.app/bin/maci64/./mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
/Applications/MATLAB_R2012a.app/bin/maci64/./mkl.dylib: truncated mach-o error: segment __LINKEDIT extends to 21094872 which is past end of file 21094672
I have tried reinstalling twice, once with a minimal install (custom install option, selected only MATLAB and Simulink) and once with all of my toolboxes (typical install option). So far, no luck getting past this error.
Some of my m-files will execute, but any dependent on BLAS or LAPACK fail with a similar error as above. I have no MEX-code (although I'm not sure what bench uses).
Hope someone out there has an idea on what is happening here!
  4 Comments
Ken Atwell
Ken Atwell on 16 Apr 2012
Sounds like those 200 bytes are important! Did you download off the web site, or install from a DVD? If the former, I would try re-downloading the MATLAB image from scratch (you mentioned re-installing above, but not re-downloading) before re-installing. If the problem *still* persists, MathWorks support should be able to get your a clean copy of this file to drop in by hand.
M-flyer
M-flyer on 17 Apr 2012
I tried reinstalling from a DVD (using the same .ISO) which failed similarly. I then installed using downloads from the MATLAB web site (internet method) and it appears to be working correctly. I must have an issue with the ISO image...I did not calculate an MD5 checksum on it...perhaps I should have. Regardless I appear to have a functional install. Thanks for the suggestions.

Sign in to comment.

Accepted Answer

M-flyer
M-flyer on 17 Apr 2012
Reinstalling from a web-based download versus the ISO solved the problem.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!