Today I encountered the following error: when I run the install.sh script, the following error occurs when I try to download the local version of Wazuh, the libffi library is not compiled, although all the dependencies specified in the documentation are downloaded and updated to the latest version available in this distribution.
Here are the required dependencies: sudo apt-get install -y bzip2 libcurl4-openssl-dev libgtest-dev libjemalloc-dev libarchive-dev libdb-dev libffi-dev libpcre2-dev libplist-dev libyaml-dev auditd libmsgpack-dev nlohmann-json3-dev libssl-dev pacman popt libprocps-dev rpm sqlite zlib1g-dev
I also downloaded them separately:
pip install cffi
sudo apt-get install -y make gcc g++ libssl-dev libffi-dev python3 python3-venv
sudo apt-get install build-essential libffi-dev
I have not yet found how to fix this error, maybe someone has already encountered it and knows how to fix it
I also attach the file with the error text