Wireshark-bugs: [Wireshark-bugs] [Bug 13270] New: macOS - Unable to run Wireshark or CLI tools f

Date: Sun, 25 Dec 2016 04:35:04 +0000
Bug ID 13270
Summary macOS - Unable to run Wireshark or CLI tools from CLI
Product Wireshark
Version 2.3.x (Experimental)
Hardware x86
OS OS X 10.11
Status UNCONFIRMED
Severity Normal
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 2.3.0-1878-g60551ea (v2.3.0rc0-1878-g60551ea)

Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.3.2, with libpcap, without POSIX capabilities, with
GLib 2.36.0, with zlib 1.2.5, with SMI 0.4.8, with c-ares 1.12.0, with Lua
5.2.4, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP,
with nghttp2 1.14.0, without LZ4, without Snappy, with QtMultimedia, without
AirPcap, without SBC, without SpanDSP.

Running on Mac OS X 10.11.6, build 15G1212 (Darwin 15.6.0), with Intel(R)
Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2), with 16384 MB of physical
memory, with locale C, with libpcap version 1.5.3 - Apple version 54, with
GnuTLS 2.12.19, with Gcrypt 1.5.0, with zlib 1.2.5.

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.9.00).

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.

--
On macOS/OS X systems attempts to run Wireshark or the CLI tools from recent
buildbot images fails with the message:

> jmac3:~ $ wireshark -v 
> /usr/local/bin/wireshark: line 21: /Applications/Wireshark.app/Contents/Resources/bin/wireshark: No such file or directory
> /usr/local/bin/wireshark: line 21: exec: /Applications/Wireshark.app/Contents/Resources/bin/wireshark: cannot execute: No such file or directory
> jmac3:~ $ 

The issue is seen on OS X El Capitan 10.11.6 and on freshly installed macOS
Sierra 10.12.

Previously installed buildbot version 2.3.0-1751-gfc8f787 from Dec 14th worked
ok.  I'm guessing this issue was introduced with commit
d706f9c221e85992f7011baed53f5b31b7109493

> Date:   Thu Dec 15 17:48:59 2016 -0800
>
>    Add symlinks to Wireshark binaries in Resources/bin, and point there.

FWIW I didn't see any symlinks for Resources/bin but the man command does
successfully find the various Wireshark man pages work with the updated $PATH.

Interim Workaround:

Edit line 21 of macosx utility-launcher /usr/local/bin/wireshark to read:

> exec "$WIRESHARK_APP_DIR/Contents/MacOS/$APP_NAME" "$@"


You are receiving this mail because:
  • You are watching all bug changes.