- edited description
build error with MySQL 8.3
Issue #67
resolved
Hi ๐,
Homebrew maintainer here. We are trying to build libzdb
with the 8.3.0 release of MySQL, but we are seeing a build error to an API deprecation - https://dev.mysql.com/doc/relnotes/mysql/8.3/en/news-8-3-0.html#mysqld-8-3-0-deprecation-removal
โ
src/db/mysql/MysqlConnection.c:100:17: error: call to undeclared function 'mysql_ssl_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
mysql_ssl_set(db, 0,0,0,0,0);
^
src/db/mysql/MysqlConnection.c:100:17: note: did you mean 'mysql_close'?
/opt/homebrew/opt/mysql-client/include/mysql/mysql.h:797:14: note: 'mysql_close' declared here
void STDCALL mysql_close(MYSQL *sock);
^
1 error generated.
Comments (5)
-
reporter -
reporter - edited description
-
repo owner I believe this commit should fix the problem. I donโt have mysql-8.3.0 installed at the moment. Would you be able to test if this fixes the problem? Just pull from libzdb master
-
reporter The commit you referenced seems to have fixed the issue, and the build is now passing. Thanks!
-
repo owner - changed status to resolved
Thanks!
- Log in to comment