Thread Subject: Snow Leopard Matlab compiler error (java)

Subject: Snow Leopard Matlab compiler error (java)

From: Elizabeth Niblack

Date: 2 Oct, 2009 12:29:02

Message: 1 of 4

Hello, I am running Matlab 2009b on 10.6.1. When compiling an application I get this error:
----------------------------
>> mcc -m start_inv
dyld: Library not loaded: libtbb.dylib
 Referenced from: /Applications/MATLAB_R2009b.app/bin/maci/libmwservices.dylib
 Reason: no suitable image found. Did find:
/System/Library/Frameworks/JavaVM.framework/JavaVM/libtbb.dylib: stat() failed with errno=20
Trace/BPT trap
"/Applications/MATLAB_R2009b.app/bin/maci/mcc" -E "/tmp/000dfmi7Nzu_223" -Y "/Users/carpena/.matlab/R2009b_licenses:/Applications/MATLAB_R2009b.app/licenses/license.dat:/Applications/MATLAB_R2009b.app/licenses/network.lic": Trace/breakpoint trap
??? Error using ==> mcc
Error executing mcc, return status = 133 (0x85).
------------------------------

Has anyboty encountered this error or can point me to a solution? Thank you!

Subject: Snow Leopard Matlab compiler error (java)

From: Juan

Date: 16 Oct, 2009 19:27:02

Message: 2 of 4

I have the same error (libtbb.dylib not loaded) just trying to _launch_ MATLAB 2009b, on OSX 10.5.8. Help from the Mathworks team would be appreciated!

Juan.

Subject: Snow Leopard Matlab compiler error (java)

From: Brian Arnold

Date: 19 Oct, 2009 13:42:43

Message: 3 of 4

Juan,

Try launching "MATLAB_R2009b", not "MATLAB". The MATLAB executable
requires its environment to be set up just so before the executable
launches.

We are working to eliminate this delicate two-step startup, but other
matters have taken priority.

- Brian


Juan wrote:
> I have the same error (libtbb.dylib not loaded) just trying to _launch_ MATLAB 2009b, on OSX 10.5.8. Help from the Mathworks team would be appreciated!
>
> Juan.

Subject: Snow Leopard Matlab compiler error (java)

From: Ricardo Cabral

Date: 4 May, 2011 06:18:04

Message: 4 of 4

In case someone runs into this because they are trying to attach Matlab to XCode's to debug MEX files (which was my case), the solution is to set the executable file to /usr/bin/matlab and not $MATLABROOT/bin/maci64/MATLAB.

Best,
Ricardo Silveira Cabral


"Elizabeth Niblack" wrote in message <ha4rme$bpf$1@fred.mathworks.com>...
> Hello, I am running Matlab 2009b on 10.6.1. When compiling an application I get this error:
> ----------------------------
> >> mcc -m start_inv
> dyld: Library not loaded: libtbb.dylib
> Referenced from: /Applications/MATLAB_R2009b.app/bin/maci/libmwservices.dylib
> Reason: no suitable image found. Did find:
> /System/Library/Frameworks/JavaVM.framework/JavaVM/libtbb.dylib: stat() failed with errno=20
> Trace/BPT trap
> "/Applications/MATLAB_R2009b.app/bin/maci/mcc" -E "/tmp/000dfmi7Nzu_223" -Y "/Users/carpena/.matlab/R2009b_licenses:/Applications/MATLAB_R2009b.app/licenses/license.dat:/Applications/MATLAB_R2009b.app/licenses/network.lic": Trace/breakpoint trap
> ??? Error using ==> mcc
> Error executing mcc, return status = 133 (0x85).
> ------------------------------
>
> Has anyboty encountered this error or can point me to a solution? Thank you!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
snow leopard Elizabeth Niblack 2 Oct, 2009 08:34:08
os x Elizabeth Niblack 2 Oct, 2009 08:34:08
compiler error Elizabeth Niblack 2 Oct, 2009 08:34:08
java Elizabeth Niblack 2 Oct, 2009 08:34:08
rssFeed for this Thread

Contact us at files@mathworks.com