revendor gopacket to support Solaris/Illumos/SmartOS

XMLWordPrintableJSON

    • 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)

            Assignee:
            David Golden
            Reporter:
            Andreas GrĂ¼ninger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: