Wireshark-bugs: [Wireshark-bugs] [Bug 10640] wireshark 1.12.1 crashes on startup on Mac OS X 10.
Comment # 4
on bug 10640
from mauroj
(In reply to Guy Harris from comment #3)
> (In reply to mauroj from comment #2)
> > (In reply to Guy Harris from comment #1)
> > > Does libcairo.2.dylib exist in /opt/X11/lib/libcairo.2.dylib? (/opt/X11,
> > > not /usr/X11)?
> >
> > Yes
> >
> > >
> > > If so, did you have another OS X release installed, and have XQuartz
> > > installed, and then upgrade to Yosemite?
> >
> > Yes, exactly.
> > >
> > > If so, then Apple's Yosemite installer broke your XQuartz installation;
> >
> > Yep - I agree.
>
> Sadly, that means that the Wireshark installer can't fix the problem, as, in
> those cases, Wireshark may already have been installed.
>
> We might be able to fix this in the Wireshark wrapper program (the actual
> program for the Wireshark app bundle is, in the GTK+ version of Wireshark, a
> wrapper that runs the real Wireshark program, and that's the program that's
> getting the error).
>
> We'd probably have the wrapper program check whether "/opt/X11" exists, and
> whether "/usr/X11 exists", and if "/opt/X11" exists but "/usr/X11" doesn't,
> run "ln" using the AuthorizationExecuteWithPrivileges() function.
Yea, not an easy answer. I'm not familiar with the runtime linker in the
OS X environment. In Solaris (for example), we can set a shell variable,
LD_LIBRARY_PATH, to instruct the runtime linker to search multiple locations
for a shared object library (works just like the shell PATH variable).
I'm not aware if such a thing exists in OS X.
Thanks
You are receiving this mail because:
- You are watching all bug changes.