Skip to content

Build Error: Cannot find MySQL. #8

@akaia-shadowfox

Description

@akaia-shadowfox

Hi, I'm trying to build the program on Ubuntu 24.04 installed on Turing RK1 ( RK3588-based compute module ), but the server part build is crashing due to Cmake being unable to detect MySQL lib for Drogon:

-- jsoncpp verson:1.9.5
-- Found UUID: /usr/lib/aarch64-linux-gnu/libuuid.so
-- pg inc: /usr/include/postgresql/usr/include/postgresql/16/server
CMake Error at /usr/lib/aarch64-linux-gnu/cmake/Drogon/FindMySQL.cmake:98 (message):
  Cannot find MySQL.  Include dir: /usr/include/mysql library dir:
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/aarch64-linux-gnu/cmake/Drogon/DrogonConfig.cmake:62 (find_dependency)
  CMakeLists.txt:28 (find_package)


-- Configuring incomplete, errors occurred!

I have more than all the required packages installed ( for example, apparently it's looking for either MySQL or MariaDB, I installed both ) but still no progress.

P.S. I'm not a C/C++ programmer so I'd greatly appreciate any help, as I only wasted time trying to figure it out myself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions