/usr/bin/suricata: symbol lookup error: /usr/bin/suricata: undefined symbol: htp_config_set_number_headers_limit

hello ,
when i write :

sudo suricata-update

i’ve this feedback :

sudo suricata-update 
/usr/bin/suricata: symbol lookup error: /usr/bin/suricata: undefined symbol: htp_config_set_number_headers_limit
Traceback (most recent call last):
  File "/usr/bin/suricata-update", line 36, in <module>
    sys.exit(main.main())
             ^^^^^^^^^^^
  File "/usr/lib/suricata/python/suricata/update/main.py", line 1413, in main
    sys.exit(_main())
             ^^^^^^^
  File "/usr/lib/suricata/python/suricata/update/main.py", line 1098, in _main
    config.init(args)
  File "/usr/lib/suricata/python/suricata/update/config.py", line 198, in init
    build_info = suricata.update.engine.get_build_info(_config["suricata"])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/suricata/python/suricata/update/engine.py", line 43, in get_build_info
    build_info_output = subprocess.check_output([suricata, "--build-info"])
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/suricata', '--build-info']' returned non-zero exit status 127.

could you help me ?
Regards

install libhtp to the latest version.

1 Like

yes i dit , it’s works !