airwave icon indicating copy to clipboard operation
airwave copied to clipboard

CMake could not find LibDL or LibMagic even though they are installed with apt

Open NlGHT opened this issue 5 years ago • 0 comments

Hey,

I've been trying to build airwave, but for some reason cmake can't find LibMagic or LibDL. I have also tried to skip these and turns out it can't find X11 either. All of these packages I have installed already through apt (libmagic-dev, libx11-dev) and I'm running on Mint 19.1. Just wondering if anyone else seemed to encounter a similar issue or if there is something obvious I might be missing.

My terminal output shows this:

~/DownloadedZipApps/airwave$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/home/night/DownloadedZipApps/airwave-install

-- VST2 SDK headers are found in /home/night/DownloadedZipApps/airwave/VST2
-- Could NOT find LibDL (missing: LIBDL_LIBRARY) 
-- libmagic version: 5.32
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LibMagic (missing: LIBMAGIC_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindLibMagic.cmake:61 (find_package_handle_standard_args)
  src/plugin/CMakeLists.txt:6 (find_package)

Any help or pointers appreciated!

NlGHT avatar Dec 10 '19 21:12 NlGHT