php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80353 Impossible to compile PHP 8 with libmysqlclient.
Submitted: 2020-11-12 13:54 UTC Modified: 2020-11-12 14:15 UTC
From: oliver at erply dot com Assigned: nikic (profile)
Status: Closed Package: *Compile Issues
PHP Version: 8.0.0RC4 OS: Centos 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oliver at erply dot com
New email:
PHP Version: OS:

 

 [2020-11-12 13:54 UTC] oliver at erply dot com
Description:
------------
Starting from MariaDB version 10.2.* libmysqlclient is replaced with libmariadb. However, using the option --with mysqli=/path/to/mysql/config* will fail when compiling the package, because PHP still searches for the old library name.

Here is the error message:

Checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.

This is happening because the mysql_config file has only following options:
libs="-L$pkglibdir  -lmariadb -lpthread -ldl -lm -lgnutls -lzlib"
embedded_libs="-L$pkglibdir  -lmysqld -lpthread -lm -lrt -ldl -lcrypt -laio"

I think PHP should have an option for configuring it with the new mysql client name.


Test script:
---------------
./configure --with-mysqli=/path/to/mysql_config 


Patches

PHP-8-configure-issue (last revision 2020-11-12 13:59 UTC by oliver at erply dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-12 13:57 UTC] nikic@php.net
Out of interest, why are you building against libmysqlclient rather than mysqlnd?
 [2020-11-12 13:59 UTC] oliver at erply dot com
The following patch has been added/updated:

Patch Name: PHP-8-configure-issue
Revision:   1605189557
URL:        https://bugs.php.net/patch-display.php?bug=80353&patch=PHP-8-configure-issue&revision=1605189557
 [2020-11-12 14:01 UTC] oliver at erply dot com
Our application won't work with the Mysql native driver.
 [2020-11-12 14:15 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2020-11-12 14:15 UTC] nikic@php.net
Should be fixed by: https://github.com/php/php-src/commit/34dd032e4e70a33e3e8fa27e38af62f63601b447 I went with the most straightforward way of dropping the library checks completely, as they're pretty disconnected from reality at this point (minimum required version is 5.5, not 4.x).

> Our application won't work with the Mysql native driver.

Do you have any further information on why that is the case?
 [2020-11-23 13:13 UTC] oliver at erply dot com
Previously described problem is fixed now but another one occured.

onfigure:51581: checking for sysvipc shared memory support
configure:51654: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51654: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/ipc.h>
| #include <sys/shm.h>
| #include <unistd.h>
| #include <string.h>
|
| int main() {
|   pid_t pid;
|   int status;
|   int ipc_id;
|   char *shm;
|   struct shmid_ds shmbuf;
|
|   ipc_id = shmget(IPC_PRIVATE, 4096, (IPC_CREAT | SHM_R | SHM_W));
|   if (ipc_id == -1) {
|     return 1;
|   }
|
|   shm = shmat(ipc_id, NULL, 0);
|   if (shm == (void *)-1) {
|     shmctl(ipc_id, IPC_RMID, NULL);
|     return 2;
|   }
|
|   if (shmctl(ipc_id, IPC_STAT, &shmbuf) != 0) {
|     shmdt(shm);
|     shmctl(ipc_id, IPC_RMID, NULL);
|     return 3;
|   }
|
|   shmbuf.shm_perm.uid = getuid();
|   shmbuf.shm_perm.gid = getgid();
|   shmbuf.shm_perm.mode = 0600;
|
|   if (shmctl(ipc_id, IPC_SET, &shmbuf) != 0) {
|     shmdt(shm);
|     shmctl(ipc_id, IPC_RMID, NULL);
|     return 4;
|   }
|
|   shmctl(ipc_id, IPC_RMID, NULL);
|
|   strcpy(shm, "hello");
|
|   pid = fork();
|   if (pid < 0) {
|     return 5;
|   } else if (pid == 0) {
|     strcpy(shm, "bye");
|     return 6;
|   }
|   if (wait(&status) != pid) {
|     return 7;
|   }
|   if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
|     return 8;
|   }
|   if (strcmp(shm, "bye") != 0) {
|     return 9;
|   }
|   return 0;
| }
|
configure:51666: result: no
configure:51669: checking for mmap() using MAP_ANON shared memory support
configure:51724: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51724: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/mman.h>
| #include <unistd.h>
| #include <string.h>
|
| #ifndef MAP_ANON
| # ifdef MAP_ANONYMOUS
| #  define MAP_ANON MAP_ANONYMOUS
| # endif
| #endif
| #ifndef MAP_FAILED
| # define MAP_FAILED ((void*)-1)
| #endif
|
| int main() {
|   pid_t pid;
|   int status;
|   char *shm;
|
|   shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
|   if (shm == MAP_FAILED) {
|     return 1;
|   }
|
|   strcpy(shm, "hello");
|
|   pid = fork();
|   if (pid < 0) {
|     return 5;
|   } else if (pid == 0) {
|     strcpy(shm, "bye");
|     return 6;
|   }
|   if (wait(&status) != pid) {
|     return 7;
|   }
|   if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
|     return 8;
|   }
|   if (strcmp(shm, "bye") != 0) {
|     return 9;
|   }
|   return 0;
| }
|
configure:51736: result: no=yes
configure:51744: checking for shm_open in -lrt
configure:51769: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lrt  -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51769: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shm_open ();
| int
| main ()
| {
| return shm_open ();
|   ;
|   return 0;
| }
configure:51778: result: no
configure:51784: checking for __shm_open in -lrt
configure:51809: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lrt  -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51809: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __shm_open ();
| int
| main ()
| {
| return __shm_open ();
|   ;
|   return 0;
| }
configure:51818: result: no
configure:51876: checking for shm_open in -lroot
configure:51901: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lroot  -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lroot
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shm_open ();
| int
| main ()
| {
| return shm_open ();
|   ;
|   return 0;
| }
configure:51910: result: no
configure:51916: checking for __shm_open in -lroot
configure:51941: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lroot  -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lroot
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51941: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __shm_open ();
| int
| main ()
| {
| return __shm_open ();
|   ;
|   return 0;
| }
configure:51950: result: no
configure:52012: checking for mmap() using shm_open() shared memory support
configure:52087: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden   -Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
/tmp/cc57pwbn.o: In function `main':
/builds/package-build/ews-24-80-build/BUILD/php-8.0.0RC5/conftest.c:272: warning: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
configure:52087: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h.  */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/mman.h>
| #include <sys/stat.h>
| #include <fcntl.h>
| #include <unistd.h>
| #include <string.h>
| #include <stdlib.h>
| #include <stdio.h>
|
| #ifndef MAP_FAILED
| # define MAP_FAILED ((void*)-1)
| #endif
|
| int main() {
|   pid_t pid;
|   int status;
|   int fd;
|   char *shm;
|   char tmpname[4096];
|
|   sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
|   if (mktemp(tmpname) == NULL) {
|     return 1;
|   }
|   fd = shm_open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|   if (fd == -1) {
|     return 2;
|   }
|   if (ftruncate(fd, 4096) < 0) {
|     close(fd);
|     shm_unlink(tmpname);
|     return 3;
|   }
|
|   shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
|   if (shm == MAP_FAILED) {
|     return 4;
|   }
|   shm_unlink(tmpname);
|   close(fd);
|
|   strcpy(shm, "hello");
|
|   pid = fork();
|   if (pid < 0) {
|     return 5;
|   } else if (pid == 0) {
|     strcpy(shm, "bye");
|     return 6;
|   }
|   if (wait(&status) != pid) {
|     return 7;
|   }
|   if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
|     return 8;
|   }
|   if (strcmp(shm, "bye") != 0) {
|     return 9;
|   }
|   return 0;
| }
|
configure:52275: result: no
configure:52692: error: No supported shared memory caching support was found when configuring opcache.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC