Project

General

Profile

Actions

Bug #3232

closed

Static build with pcap fails

Added by Fabrice Fontaine over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:
Needs backport

Description

pcap can optionally depends on nl-3 resulting in build failure due to all AC_CHECK_LIB calls failing when building statically.
pkg-config should be used to retrieve those dependencies.

Pull request is available at https://github.com/OISF/suricata/pull/4124.


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #3326: Static build with pcap fails (4.1.x)ClosedVictor JulienActions
Actions #1

Updated by Victor Julien over 4 years ago

  • Assignee set to Community Ticket
  • Target version set to TBD

I'm not against fixing this, but the referenced PR isn't acceptable. It breaks almost all the checks both appveyor and travis do, so something isn't right about it.

Actions #2

Updated by Fabrice Fontaine over 4 years ago

OK thanks for your quick reply, I know what is wrong. Default action-if-not-found of PKG_CHECK_MODULES is to end with an error. I'll fix this mistake by replacing [] to [;] in the next few hours.

Actions #3

Updated by Fabrice Fontaine over 4 years ago

Here is the new PR: https://github.com/OISF/suricata/pull/4293
The former one couldn't be updated as I deleted the repository last month.

Actions #4

Updated by Victor Julien over 4 years ago

  • Status changed from New to Closed
  • Assignee changed from Community Ticket to Fabrice Fontaine
  • Target version changed from TBD to 5.0.0
Actions #5

Updated by Victor Julien over 4 years ago

  • Copied to Bug #3326: Static build with pcap fails (4.1.x) added
Actions

Also available in: Atom PDF