On Apr 15, 2014, at 3:42 PM, Andrew Bitson <abitson@xxxxxxxxx> wrote:
> I’ve just started compiling Wireshark for the first time and I’m having issues with getting the latest source release to work correctly — I’m not sure if it’s a bug or an error with my system — it did work at one point. I’m currently running OS X 10.9.3 (Developer Preview)
>
> I just pulled the latest source from the 1.11.4 train (@5:15 or so CDT 2014-4-14).
> I’m able to run autogen.sh, configure and make to produce the executable.
> Launching the executable results in the following error message:
>
>
> Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
The current version of libpcap will, if you try to configure D-Bus support on OS X, fail with the message
Due to freedesktop.org bug 74029, D-Bus capture support is not available on OS X
See
https://bugs.freedesktop.org/show_bug.cgi?id=74029
for details.
When that bug is fixed, and a version of D-Bus with that fix is available with whatever packaging system you're using, D-Bus sniffing might then work on OS X.
> Running launchctl list shows dbus is not running, but the GUI loads and I can start a capture. Anytime I try to save the active capture, it hangs and crashes. Crash report: (http://bit.ly/1iW4Nsw).
Dyld Error Message:
Library not loaded: /usr/local/lib/libdbus-1.3.dylib
Referenced from: /usr/local/lib/libatk-bridge-2.0.0.dylib
Reason: image not found
Somehow ATK (used by GTK+) is not configured correctly, or libdbus isn't correctly installed, or something such as that.
> Running `launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session` and restart the Wireshark executable produces no GUI and no messages in the console, but shows errors in the System.log:
>
> Apr 15 17:33:27 mac.local com.apple.launchd.peruser.501[275] (org.freedesktop.dbus-session[29449]): Exited with code: 1
> Apr 15 17:33:27 mac.local com.apple.launchd.peruser.501[275] (org.freedesktop.dbus-session): Throttling respawn: Will start in 10 seconds
>
> No crash reports exist for dbus.
>
> I’m using brew to instal dbus
You should speak to the brew people about that.