Hi, I just installed Wireshark 1.12.4 on my MacBook Pro, went to start it and it immediately crashed. From the crash report, I see the following report about missing files: Dyld Error Message: Library not loaded: /usr/X11/lib/libcairo.2.dylib Referenced from: /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin Reason: image not found I have XQuartz installed and there is no /usr/X11 directory even though all of the X11 parts and pieces work fine. So, is 1.12.4 the wrong version of Wireshark for my machine, or is there a different X11 package that I should install instead of XQuartz? Thanks, Rob asked 06 Apr '15, 10:08 caspersgrin |
One Answer:
There shouldn't be. What there should be is a
So you need to, as bob_calder notes, do In response to his comments: There should, in addition to the
(all three commands run, for what it's worth, on a Yosemite (virtual) machine). So both symbolic links should exist. I'm not sure what "X11R6 1" is, here. Is it a folder whose name is "X11R6", followed by a space, followed by "1", or is it a folder whose name is "X11R6.1"? And is it truly a folder, or just a symbolic link? What does The XQuartz installer will install XQuartz under The Yosemite installer, when used to upgrade from an earlier OS X release to Yosemite, will, unfortunately, remove the What the crashing is telling you is that you need to do So the folder in question is neither I.e., the problem has nothing to do with "the X11 folder" or "the X11R6 folder" or "the X11R6 1" folder or "the X11R6.1 folder" not having the relevant files, it has something to do with answered 10 Apr '15, 14:37 Guy Harris ♦♦ Thanks! The "1" was separated by a space, so it's possible there was some sort of error after Yosemite update ran having to do with creating a new directory before the old one was deleted, then deleting the old one and not renaming the new one. No, it wasn't a sym link. Everything works since I created the new link, so at this point, it's just another example of Apple doing their own thing. :( (10 Apr '15, 15:32) bob_calder Programs in the higher levels of OS X try to deal with duplicate file names by giving the new file (or folder) a name with a blank and a number appended to it; perhaps In any case, Yosemite doesn't have its own built-in X11, so, on Yosemite with XQuartz, there should be a folder (10 Apr '15, 20:03) Guy Harris ♦♦ |
The September and October entries have the issue identified. I didn't pay attention at first because of the poster's spelling. The solution is also silly. Why uninstall two packages and reinstall them just to get a sym link?
I had the crash problem as well but my directory structure is different from what was posted: usr/X11R6 1 (A completely different name for the X11 directory.) opt/X11 Both exist on the machine.
Relevant parts of the report: OS Version: Mac OS X 10.10.2 (14C1514) Application Specific Information: dyld: launch, loading dependent libraries
Dyld Error Message: Library not loaded: /usr/X11/lib/libcairo.2.dylib Referenced from: /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin Reason: image not found
However, libcairo.2.dylib exists at usr/X11/lib/
I suppose my problem is I can't understand what my crashlog is kindly telling me. I think X Quartz is telling us that the X11 folder is really the X11R6 1 folder that doesn't have the necessary files in it. Creating the symbolic link cured the issue: sudo ln -s /opt/X11 /usr/X11