Problems with libfreetype.6.dylib under SnowLeopard in MATLAB R2009b

2 views (last 30 days)
Dear experts,
I use mrtrix (<http://www.brain.org.au/software/mrtrix/index.html>) under SnowLeopard (10.6.8).
Mrtrix image viewer ('mrview') gives a problem when I use it from within MATLAB R2009b.
>> system('mrview') dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib Referenced from: /usr/local/bin/mrview Reason: Incompatible library version: mrview requires version 14.0.0 or later, but libfreetype.6.dylib provides version 10.0.0 mrview: Trace/breakpoint trap
ans =
133
Mrview from the Terminal.app or from the X11.app : no problem, everything works fine.
However, when I have a look with otool -L whcih version of libfreetype.6.dylib is installed, it seems all up to date too.
>> system('otool -L /usr/X11/lib/libfreetype.6.dylib') /usr/X11/lib/libfreetype.6.dylib: /usr/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.44.0)
ans =
0
I suppose thus a wrong referencing to libfreetype.6.dylib by MATLAB. Is that plausible?
Many thanks for any hint!
Markus

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!