Just updated from 1.5 to 1.6.5 on my Macbook Pro and now Wireshark will not launch. Checking the crash file, I see this:
Dyld Error Message:
Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /usr/X11/lib/libcairo.2.dylib
Reason: Incompatible library version: libcairo.2.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
But if I check with otool, my libfreetype.6.dylib says it provides version 14.0.0. I also checked libcairo with otool and it says the libfreetype library provides version 14 as well. Any ideas as to a fix?
$ 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.5)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
$ otool -L /usr/X11/lib/libcairo.2.dylib
/usr/X11/lib/libcairo.2.dylib:
/usr/X11/lib/libcairo.2.dylib (compatibility version 11003.0.0, current version 11003.2.0)
/usr/X11/lib/libpixman-1.0.dylib (compatibility version 21.0.0, current version 21.2.0)
/usr/X11/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
/usr/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0)
/usr/X11/lib/libpng15.15.dylib (compatibility version 20.0.0, current version 20.0.0)
/usr/X11/lib/libxcb-shm.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/X11/lib/libX11-xcb.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/X11/lib/libxcb-render.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/X11/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
asked 22 Mar ‘12, 13:58
aubreyw
1●1●2●3
accept rate: 100%
I'm so glad you posted this solution. It wasn't so obvious to me. I just had the same error message after installing Maxima and trying to use its Gnuplot. Copying /usr/X11/lib/libfreetype.6.dylib into /Applications/Gnuplot.app/Contents/Resources/lib fixed it.