Wireshark mailing list archives
Re: Linking on OSX Sierra
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Wed, 12 Oct 2016 14:41:41 -0400
On Tue, Oct 11, 2016 at 9:38 AM, Evan Huus <eapache () gmail com> wrote:
On Fri, Oct 7, 2016 at 7:14 PM, Guy Harris <guy () alum mit edu> wrote:On Oct 7, 2016, at 4:03 PM, Gerald Combs <gerald () wireshark org> wrote:On 10/7/16 7:45 AM, Evan Huus wrote:Hey all, recently upgrade my mac to Sierra and tried to revive my wireshark build environment. I got it compiling (out-of-tree cmake) and most of the tools (tshark) etc seem to work, but: $ ./run/wireshark Listening on en0 155 packets seen, 155 packets counted after pcap_dispatch returns ... No UI ever opens. I have Qt5 installed, and I checked my CmakeCache.txt and it is detected and building the UI module (BUILD_wireshark:BOOL=ON). The other weird part is: $ ./run/wireshark -h Usage: Wireshark [ -mn ] [ -i interface ] [ -t timeout] [expression] That's *all* it outputs. I have to assume that some other binary is being linked on top of the wireshark binary (tshark et al seem unaffected) but I don't recognize that option set. Any ideas? Has anybody seen this before?Weird. ./run/wireshark should be a shell script generated byCMakeLists.txtthat execs run/Wireshark.app/Contents/MacOS/Wireshark....and that's not Wireshark's "invalid command-line argument" errormessage.So what does "file run/wireshark" print? And if it's a shell script, what does it contain?`run/wireshark` is a shell script pointing to `./run/Wireshark.app/Contents/MacOS/Wireshark` the way it should. That file is a Mach-O 64-bit executable x86_64. Running that file directly has the same issues, so I suppose something is overwriting it or mis-linking it or something.
Just for fun I did a quick search for that Usage output (minus the "Wireshark" prefix which is clearly $0) and found this program which has that exact output: https://github.com/the-tcpdump-group/libpcap/blob/master/tests/capturetest.c
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Linking on OSX Sierra Evan Huus (Oct 07)
- Re: Linking on OSX Sierra Gerald Combs (Oct 07)
- Re: Linking on OSX Sierra Guy Harris (Oct 07)
- Re: Linking on OSX Sierra Roland Knall (Oct 08)
- Re: Linking on OSX Sierra Evan Huus (Oct 11)
- Re: Linking on OSX Sierra Jeff Morriss (Oct 12)
- Re: Linking on OSX Sierra Guy Harris (Oct 12)
- Re: Linking on OSX Sierra Evan Huus (Oct 12)
- Re: Linking on OSX Sierra Graham Bloice (Oct 12)
- Re: Linking on OSX Sierra Francisco Javier Sanchez-Roselly (Oct 13)
- Re: Linking on OSX Sierra Francisco Javier Sanchez-Roselly (Oct 20)
- Re: Linking on OSX Sierra Jaap Keuter (Oct 21)
- Re: Linking on OSX Sierra Francisco Javier Sanchez-Roselly (Oct 21)
- Re: Linking on OSX Sierra Guy Harris (Oct 07)
- Re: Linking on OSX Sierra Gerald Combs (Oct 07)