Bug #76282 [Opn->Csd]: Not compiling against mysql8 (no more my_global.h)

From: Date: Fri, 18 Sep 2020 13:39:38 +0000
Subject: Bug #76282 [Opn->Csd]: Not compiling against mysql8 (no more my_global.h)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229073@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76282&edit=1 ID: 76282 Updated by: nikic@php.net Reported by: UvgdwXcN9V2oxDoaIVT5lYI at protonmail dot ch Summary: Not compiling against mysql8 (no more my_global.h) -Status: Open +Status: Closed Type: Bug Package: MySQLi related Operating System: Centos 7 PHP Version: 7.2.5 -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: This has been implemented in https://github.com/php/php-src/pull/6127, part of the next 7.3 release. Previous Comments: ------------------------------------------------------------------------ [2018-04-28 01:30:56] spam2 at rhsoft dot net I don't get why people after 10 years still link against libmysql instead use mysqlnd or even more why mysqlnd isn't just the only implementation at all ------------------------------------------------------------------------ [2018-04-28 00:03:25] requinix@php.net See also bug #75612 ------------------------------------------------------------------------ [2018-04-27 21:17:25] UvgdwXcN9V2oxDoaIVT5lYI at protonmail dot ch Description: ------------ /php-7.2.5/ext/mysqli/php_mysqli_structs.h:63:23: fatal error: my_global.h: No such file or directory #include <my_global.h> ^ compilation terminated. make: *** [ext/mysqli/mysqli.lo] Error 1 As per the hint here (https://mysqlserverteam.com/mysql-8-0-source-code-improvements/): "my_global.h went away" Test script: --------------- mysql-community-client.x86_64 8.0.11-1.el7 @mysql80-community mysql-community-common.x86_64 8.0.11-1.el7 @mysql80-community mysql-community-devel.x86_64 8.0.11-1.el7 @mysql80-community mysql-community-libs.x86_64 8.0.11-1.el7 @mysql80-community mysql-community-libs-compat.x86_64 8.0.11-1.el7 @mysql80-community mysql-community-server.x86_64 8.0.11-1.el7 @mysql80-community mysql80-community-release.noarch el7-1 installed ./configure --enable-fpm --with-fpm-user=phpfpm --with-fpm-group=phpfpm --with-fpm-systemd --with-libxml-dir --with-openssl --with-pcre-regex --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-exif --with-gd --enable-soap --enable-zip --enable-mysqlnd --with-mysqli=/usr/bin/mysql_config-64 --with-pdo-mysql=mysqlnd --enable-mbstring --with-gmp --with-sodium ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76282&edit=1

« previous php.bugs (#229073) next »