Project

General

Profile

Actions

Support #1755

closed

Hypercan not even looked for when compiling on FreeBSD

Added by O P over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

At first I thought the library wasn't picked up, but I then added the lines as shown in the Ubuntu guide:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Hyperscan

$ ./configure --enable-gccprotect --disable-silent-rules --with-libpcre-includes=/usr/local/include --with-libpcre-libraries=/usr/local/lib --with-libyaml-includes=/usr/local/include --with-libyaml-libraries=/usr/local/lib --with-libnet-includes=/usr/local/include --with-libnet-libraries=/usr/local/lib --with-libhtp-includes=/usr/local/include/ --with-libhtp-libraries=/usr/local/lib --with-libhs-includes=/usr/local/include/hs --with-libhs-libraries=/usr/local/lib/ --disable-gccmarch-native --enable-geoip --enable-non-bundled-htp --enable-ipfw --with-libjansson-includes=/usr/local/include --with-libjansson-libraries=/usr/local/lib --enable-netmap --with-libpcap-includes=/usr/include --with-libpcap-libraries=/usr/lib --disable-prelude --disable-unittests --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd10.2

and still nothing.

I've checked config.log and Suricata isn't even trying to find the libraries.

Hyperscan is installed:

  1. la /usr/local/include/hs/
    total 88
    rw-r--r- 1 root wheel 18K Dec 18 04:41 hs_runtime.h
    rw-r--r- 1 root wheel 32K Dec 18 04:41 hs_compile.h
    rw-r--r- 1 root wheel 17K Dec 18 04:41 hs_common.h
    rw-r--r- 1 root wheel 1.9K Dec 18 04:41 hs.h
    drwxr-xr-x 42 root wheel 3.0K Mar 31 18:07 ..
    drwxr-xr-x 2 root wheel 512B Mar 31 18:07 .
  1. la /usr/local/lib/libhs*
    rw-r--r- 1 root wheel 2.4M Mar 31 17:33 /usr/local/lib/libhs_runtime.a
    rw-r--r- 1 root wheel 12M Mar 31 18:01 /usr/local/lib/libhs.a
    lrwxr-xr-x 1 root wheel 22B Mar 31 18:07 /usr/local/lib/libhs_runtime.so.4.1 -> libhs_runtime.so.4.1.0
    lrwxr-xr-x 1 root wheel 20B Mar 31 18:07 /usr/local/lib/libhs_runtime.so -> libhs_runtime.so.4.1
    -rwxr-xr-x 1 root wheel 1.8M Mar 31 18:07 /usr/local/lib/libhs_runtime.so.4.1.0
    lrwxr-xr-x 1 root wheel 14B Mar 31 18:07 /usr/local/lib/libhs.so.4.1 -> libhs.so.4.1.0
    lrwxr-xr-x 1 root wheel 12B Mar 31 18:07 /usr/local/lib/libhs.so -> libhs.so.4.1
    -rwxr-xr-x 1 root wheel 5.2M Mar 31 18:07 /usr/local/lib/libhs.so.4.1.0
Actions

Also available in: Atom PDF