Bug #3232
closedStatic build with pcap fails
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.
Updated by Victor Julien about 5 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.
Updated by Fabrice Fontaine about 5 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.
Updated by Fabrice Fontaine about 5 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.
Updated by Victor Julien about 5 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
Updated by Victor Julien about 5 years ago
- Copied to Bug #3326: Static build with pcap fails (4.1.x) added