-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 3.4.1
-
Component/s: mongoreplay
-
None
-
Environment:OpenIndiana Hipster, latest patches
/vendor/src/github.com/google/gopacket/pcap/pcap.go
doesn't containthe linker flag for solaris.
I added
#cgo solaris LDFLAGS: -lpcap
and compilation of mongoreplay was successful.
You should use a newer version of gopacket.
The linker flags for Solaris were added with commit
https://github.com/google/gopacket/commit/2c63b176d1f59cc16072620ab5317cf624d30180 (2016, 24 Feb)