issue:
# cmake .. -DENABLE_MYSQL=OFF -DENABLE_SSL_KEYLOG=ON -DFORCE_TCP_FASTOPEN=ON -DSYSTEMD_SERVICE=AUTO
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost: Found unsuitable version "1.65.1", but required is at
least "1.66.0" (found /usr/include)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
CMakeLists.txt:39 (find_package)
-- Configuring incomplete, errors occurred!
See also "/root/trojan/build/CMakeFiles/CMakeOutput.log".
See also "/root/trojan/build/CMakeFiles/CMakeError.log".
- Download Boost from official source
- Extract it
- Open terminal and cd to extracted dir
- run "./bootstrap.sh --help" command to see help
- Then run "./bootstrap.sh" command it will take some time to build
- Then run "sudo ./b2 install" to install boost.
- The default installation location are "/usr/local/inlcude/boost" for header files and "/usr/local/lib" for compiled libraries
refrence:
https://waqarrashid33.blogspot.com/2017/12/installing-boost-166-in-ubuntu-1604.html