Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Could not find dynamic "mysqlclient_r mysqlclient" in MYSQL_LIB_DIR (no replies)

$
0
0
Hello! I'm trying to build Connector/C++ on CentOS 7. When I run "cmake ." I get the following output:

-- Boost version: 1.65.1
-- BOOST_INCLUDE_DIRS=/usr/local/boost_1_65_1
-- You will link dynamically to the MySQL client library (set with -DMYSQLCLIENT_STATIC_LINKING=<bool>)
-- Searching for dynamic libraries with the base name(s) "mysqlclient_r mysqlclient"
-- mysql_config was found /bin/mysql_config
CMake Error at FindMySQL.cmake:406 (message):
Could not find dynamic "mysqlclient_r mysqlclient" in MYSQL_LIB_DIR
"/usr/lib64"
Call Stack (most recent call first):
FindMySQL.cmake:649 (_check_lib_search_error)
CMakeLists.txt:252 (INCLUDE)

Even though I have the following files inside /usr/lib64:
./libmysqlclient.so.15
./libmysqlclient.so.15.0.0
./libmysqlclient.so.16
./libmysqlclient.so.16.0.0
./libmysqlclient.so.18
./libmysqlclient.so.18.0.0
./libmysqlclient_r.so.15
./libmysqlclient_r.so.15.0.0
./libmysqlclient_r.so.16
./libmysqlclient_r.so.16.0.0

Anything I can do? Thanks!

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>