I got an error when I ran brew install Holek/rcon/rcon
To fix it I ran brew install libbsd. I could then install rcon successfully.
I'm using Homebrew on WSL2 Debian GNU/Linux 10 (buster).
Here's the full error:
==> Installing holek/rcon/rcon
==> cmake . -DINSTALL_BASH_COMPLETION=OFF
Last 15 lines from /home/adam/.cache/Homebrew/Logs/rcon/01.cmake:
-- Looking for arc4random_uniform - not found
-- Looking for pledge
-- Looking for pledge - not found
-- Checking for module 'libbsd'
-- No package 'libbsd' found
CMake Error at /home/linuxbrew/.linuxbrew/Cellar/cmake/3.21.3_1/share/cmake/Modules/FindPkgConfig.cmake:562 (message):
A required package was not found
Call Stack (most recent call first):
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.21.3_1/share/cmake/Modules/FindPkgConfig.cmake:784 (_pkg_check_modules_internal)
CMakeLists.txt:44 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/tmp/rcon-20211015-7473-ha4vs6/rcon-0.5/CMakeFiles/CMakeOutput.log".
See also "/tmp/rcon-20211015-7473-ha4vs6/rcon-0.5/CMakeFiles/CMakeError.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/holek/homebrew-rcon/issues
I got an error when I ran
brew install Holek/rcon/rcon
To fix it I ran
brew install libbsd
. I could then install rcon successfully.I'm using Homebrew on WSL2 Debian GNU/Linux 10 (buster).
Here's the full error: