gpt4 book ai didi

mysql - "fatal error: mysql.h: No such file or directory"编译mod_auth_mysql-3.0.0

转载 作者:行者123 更新时间:2023-11-29 08:14:16 29 4
gpt4 key购买 nike

我尝试在我的 debian Wheezy 上构建 mod_auth_mysql,但总是遇到此错误:

mod_auth_mysql.c:269:19: fatal error: mysql.h: No such file or directory

我以前从未构建过package/mod,我不明白我做错了什么。我已关注this documentation并使用此命令行:

apxs2 -c -lmysqlclient -lm -lz mod_auth_mysql.c

最佳答案

您是否尝试过使用 -I"/usr/include/mysql"进行编译,那里可能有 mysql.h。

关于mysql - "fatal error: mysql.h: No such file or directory"编译mod_auth_mysql-3.0.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20922440/

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