From: mvelasco on
I'm using the new r2007a release of MATLAB on a Mac G5.

I'm thinking I'm having a path issue or some sort.

When I try to run their magicsquare example (no error messages during
compilation) I get this error message:

dyld: Library not loaded: libmwmclmcrrt.dylib.7.6
Referenced from: /local/marc/magicexample/magic/distrib/magic
Reason: image not found
Trace/BPT trap
logout
[Process completed]


I'm fairly new to the Mac platform.

anybody have any suggestions?

Also, I don't think my computer likes it's $PATH setup.

computer:~ marc$ $PATH
-bash: /bin:/sbin:/usr/bin:/usr/sbin: No such file or directory

(and this last one I don't get: I have a /bin folder, and sbin folder,
and a usr/bin and a usr/sbin, but they don't show up from Mac Finder,
only from command line.)

Thanks for any help.

From: Brian Arnold on
Hi,

I think your problem is related to DYLD_LIBRARY_PATH, not PATH. Try
setting DYLD_LIBRARY_PATH to the path to where libmwmclmcrrt.dylib.7.6
is located. Search the MATLAB Help for "DYLD_LIBRARY_PATH" for more
information, or help setting up this environment variable. Please post
the results if you are successful.

When you checked the value of $PATH, you were telling the shell to
execute the value. If you use "echo $PATH" instead, then it will echo
the value, and not attempt to execute it.

Brian

mvelasco wrote:
> I'm using the new r2007a release of MATLAB on a Mac G5.
>
> I'm thinking I'm having a path issue or some sort.
>
> When I try to run their magicsquare example (no error messages during
> compilation) I get this error message:
>
> dyld: Library not loaded: libmwmclmcrrt.dylib.7.6
> Referenced from: /local/marc/magicexample/magic/distrib/magic
> Reason: image not found
> Trace/BPT trap
> logout
> [Process completed]
>
>
> I'm fairly new to the Mac platform.
>
> anybody have any suggestions?
>
> Also, I don't think my computer likes it's $PATH setup.
>
> computer:~ marc$ $PATH
> -bash: /bin:/sbin:/usr/bin:/usr/sbin: No such file or directory
>
> (and this last one I don't get: I have a /bin folder, and sbin folder,
> and a usr/bin and a usr/sbin, but they don't show up from Mac Finder,
> only from command line.)
>
> Thanks for any help.
>