This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf Sniffer v3.1.0 on Mac OS 11.2.3

I cannot get the .sh script to run correctly to setup the sniffer on Mac OS.

Here is my info:

ryan@SuperFruit extcap % python3 --version
Python 3.9.0
ryan@SuperFruit extcap % pip3 install -r requirements.txt
Requirement already satisfied: pyserial>=3.4 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (3.4)
ryan@SuperFruit extcap % nrf_sniffer_ble.sh --extcap-interfaces
Traceback (most recent call last):
  File "/Users/ryan/.config/wireshark/extcap/nrf_sniffer_ble.py", line 51, in <module>
    from SnifferAPI import Sniffer, myVersion, Logger, UART, Devices, Pcap
  File "/Users/ryan/.config/wireshark/extcap/SnifferAPI/Sniffer.py", line 37, in <module>
    from . import UART
  File "/Users/ryan/.config/wireshark/extcap/SnifferAPI/UART.py", line 40, in <module>
    import serial.tools.list_ports as list_ports
  File "/usr/local/lib/python3.9/site-packages/serial/tools/list_ports.py", line 29, in <module>
    from serial.tools.list_ports_posix import comports
  File "/usr/local/lib/python3.9/site-packages/serial/tools/list_ports_posix.py", line 31, in <module>
    from serial.tools.list_ports_osx import comports
  File "/usr/local/lib/python3.9/site-packages/serial/tools/list_ports_osx.py", line 32, in <module>
    kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found

Related