Project

General

Profile

Actions

Bug #946

closed

libhtp version not recognized correctly when the enable-non-bundled option is used

Added by Peter Manev over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

When compiling 1.4.5 but using the 0.2.14 libhtp
packages from Suricata's stable Ubuntu PPA repo (--enable-non-bundled-htp):


checking pkg-config is at least version 0.9.0... yes
checking htp/htp.h usability... yes
checking htp/htp.h presence... yes
checking for htp/htp.h... yes
checking for htp_conn_create in -lhtp... yes
checking for LIBHTPMINVERSION... yes
checking for LIBHTPMAXVERSION... no

   ERROR! libhtp 0.3.x was found but only 0.2.x is supported

root@ubuntu64LTS:~/work/suricata-1.4.5#
root@ubuntu64LTS:~/work/suricata-1.4.5# dpkg -l |grep htp
ii  libhtp-dev                             0.2.14-5ubuntu5     HTTP normalizer and parser library (devel)
ii  libhtp1                                0.2.14-5ubuntu5     HTTP normalizer and parser library


No other htp library is present on the system.
The following configure/make commands are used:
root@ubuntu64LTS:~/work/suricata-1.4.5# ./configure  --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --enable-geoip  \
--enable-profiling --enable-non-bundled-htp \
--with-libnss-libraries=/usr/lib \
--with-libnss-includes=/usr/include/nss/ \
--with-libnspr-libraries=/usr/lib \
--with-libnspr-includes=/usr/include/nspr && sudo make clean && \
sudo make  && sudo make install && sudo ldconfig

The result is the same if pkg-config path is used:

root@LTS-64-1:~/Work/tmp/suricata-1.4.5# which pkg-config
/usr/bin/pkg-config
root@LTS-64-1:~/Work/tmp/suricata-1.4.5#
root@LTS-64-1:~/Work/tmp/suricata-1.4.5#
PKG_CONFIG_PATH=/usr/bin/pkg-config ./configure  --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --enable-geoip  \
--enable-profiling --enable-non-bundled-htp

Actions #1

Updated by Victor Julien over 10 years ago

  • Target version set to TBD
Actions #2

Updated by Andreas Herz over 8 years ago

Is this still an issue with more recent versions?

Actions #3

Updated by Peter Manev over 8 years ago

  • Status changed from New to Closed

It is not an issue currently.

Actions #4

Updated by Victor Julien over 6 years ago

  • Target version deleted (TBD)
Actions

Also available in: Atom PDF