Ask Your Question

Revision history [back]

compiling on M1 Mac

I used brew and installed everything to compile wireshark. It compiles with no problem. I have started writing my dissector. Not every time, but the majority of the time I get the following error when trying to load my dissector on the same machine but different Instance of wireshark.

Couldn't load plugin 'gqi.so': dlopen(/Applications/Wireshark.app/Contents/PlugIns/wireshark/3-6/epan/gqi.so, 0x0002): tried: '/Applications/Wireshark.app/Contents/PlugIns/wireshark/3-6/epan/gqi.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

I have done the compile and running on the same machine an M1 mac.

Charlie