gpt4 book ai didi

c++ - 配置:错误:找不到MySQL包含目录

转载 作者:行者123 更新时间:2023-12-02 10:30:01 25 4
gpt4 key购买 nike

我在配置时出错。
这是我正在运行的cmd ./configure --with-mysql-lib=/lib64 --with-ev-lib=/usr/lib64 完整错误:

checking for MySQL include directory... noconfigure: error: Didn't find the MySQL include dir in '/usr/include/mysql /usr/local/include/mysql /usr/local/mysql/include /usr/local/mysql/include/mysql /usr/mysql/include/mysql /opt/mysql/include/mysql /sw/include/mysql'


Os: centos 8database : maraidb 10.4


已安装的软件包:我缺少什么吗?
MariaDB-common.x86_64                         10.4.12-1.el8                                  @mariadb
MariaDB-shared.x86_64 10.4.13-1.el8 @mariadb
mariadb.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-backup.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-common.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-errmsg.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-gssapi-server.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-server.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream
mariadb-server-utils.x86_64 3:10.3.17-1.module_el8.1.0+257+48736ea6 @AppStream

最佳答案

所以事实证明我需要安装mysql ++ 3.2+

关于c++ - 配置:错误:找不到MySQL包含目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62591352/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com