|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-09-12 08:03 UTC] 121044208 at qq dot com
Description:
------------
php -v
PHP 7.1.16 (cli) (built: Apr 10 2018 18:09:30) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.16, Copyright (c) 1999-2018, by Zend Technologies
pecl install apcu
/home/liu/apcu-5.1.12/apc_iterator.c:165: undefined reference to `pcre_exec'
/home/liu/apcu-5.1.12/apc_iterator.c:165:(.text+0xee): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `pcre_exec'
Test script:
---------------
windows install cygwin
install php
install apcu
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 20:00:01 2025 UTC |
$ php -v PHP 7.1.16 (cli) (built: Apr 10 2018 18:09:30) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.1.16, Copyright (c) 1999-2018, by Zend Technologies $ php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom enchant exif fileinfo filter ftp gd gettext gmp hash iconv imap intl json ldap libxml mbstring mysqli mysqlnd odbc openssl pcre PDO pdo_dblib pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite pgsql Phar posix pspell readline recode Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache $ php -i |grep pcre pcre pcre.backtrack_limit => 1000000 => 1000000 pcre.jit => 0 => 0 pcre.recursion_limit => 100000 => 100000 $ pecl install apcu WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading apcu-5.1.12.tar ... Starting to download apcu-5.1.12.tar (715,264 bytes) ......done: 715,264 bytes 39 source files, building running: phpize Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303 Enable internal debugging in APCu [no] : building in /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12 running: /tmp/pear/temp/apcu/configure --with-php-config=/usr/bin/php-config --enable-apcu-debug=no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-cygwin checking host system type... x86_64-unknown-cygwin checking target system type... x86_64-unknown-cygwin checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/20160303 checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APCu support... yes, shared checking if APCu should be allowed to use rwlocks... yes checking if APCu should be built in debug mode... no checking if APCu should clear on SIGUSR1... no checking if APCu will use mmap (or shm)... yes checking if APCu should utilize spinlocks before flocks... no checking whether the target compiler supports builtin atomics... yes Unable to set PTHREAD_PROCESS_SHARED (pthread_rwlockattr_setpshared), your system may not support shared rwlock's. configure: WARNING: It doesn't appear that pthread rwlocks are supported on your system Unable to set PTHREAD_PROCESS_SHARED (pthread_mutexattr_setpshared), your system may not support shared mutex's. configure: WARNING: It doesn't appear that pthread mutexes are supported on your system configure: WARNING: APCu file locking enabled checking for sigaction... yes checking for union semun... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking whether to include code coverage symbols... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/x86_64-pc-cygwin/bin/ld.exe checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking how to convert x86_64-unknown-cygwin file names to x86_64-unknown-cygwin format... func_convert_file_noop checking how to convert x86_64-unknown-cygwin file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -DDLL_EXPORT -DPIC checking if cc PIC flag -DDLL_EXPORT -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c -o apc.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c -DDLL_EXPORT -DPIC -o .libs/apc.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_lock.c -o apc_lock.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_lock.c -DDLL_EXPORT -DPIC -o .libs/apc_lock.o /tmp/pear/temp/apcu/apc_lock.c: 在函数‘apc_lock_create’中: /tmp/pear/temp/apcu/apc_lock.c:183:3: 警告:‘mktemp’ is deprecated: the use of `mktemp' is dangerous; use `mkstemp' instead [-Wdeprecated-declarations] mktemp(lock_path); ^~~~~~ In file included from /tmp/pear/temp/apcu/apc.h:52:0, from /tmp/pear/temp/apcu/apc_lock.h:26, from /tmp/pear/temp/apcu/apc_lock.c:22: /usr/include/stdlib.h:131:8: 附注:在此声明 char * mktemp (char *) _ATTRIBUTE ((__deprecated__("the use of `mktemp' is dangerous; use `mkstemp' instead"))); ^~~~~~ /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/php_apc.c -o php_apc.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/php_apc.c -DDLL_EXPORT -DPIC -o .libs/php_apc.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_cache.c -o apc_cache.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_cache.c -DDLL_EXPORT -DPIC -o .libs/apc_cache.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_mmap.c -o apc_mmap.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_mmap.c -DDLL_EXPORT -DPIC -o .libs/apc_mmap.o /tmp/pear/temp/apcu/apc_mmap.c: 在函数‘apc_mmap’中: /tmp/pear/temp/apcu/apc_mmap.c:95:3: 警告:‘mktemp’ is deprecated: the use of `mktemp' is dangerous; use `mkstemp' instead [-Wdeprecated-declarations] if(!mktemp(file_mask)) { ^~ In file included from /tmp/pear/temp/apcu/apc.h:52:0, from /tmp/pear/temp/apcu/apc_mmap.c:28: /usr/include/stdlib.h:131:8: 附注:在此声明 char * mktemp (char *) _ATTRIBUTE ((__deprecated__("the use of `mktemp' is dangerous; use `mkstemp' instead"))); ^~~~~~ /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_shm.c -o apc_shm.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_shm.c -DDLL_EXPORT -DPIC -o .libs/apc_shm.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_sma.c -o apc_sma.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_sma.c -DDLL_EXPORT -DPIC -o .libs/apc_sma.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_stack.c -o apc_stack.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_stack.c -DDLL_EXPORT -DPIC -o .libs/apc_stack.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_signal.c -o apc_signal.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_signal.c -DDLL_EXPORT -DPIC -o .libs/apc_signal.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_pool.c -o apc_pool.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_pool.c -DDLL_EXPORT -DPIC -o .libs/apc_pool.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_iterator.c -o apc_iterator.lo libtool: compile: cc -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_iterator.c -DDLL_EXPORT -DPIC -o .libs/apc_iterator.o /bin/sh /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/include -I/tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/main -I/tmp/pear/temp/apcu -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o apcu.la -shared -export-dynamic -avoid-version -module -no-undefined -rpath /tmp/pear/temp/pear-build-liunW7ORg/apcu-5.1.12/modules apc.lo apc_lock.lo php_apc.lo apc_cache.lo apc_mmap.lo apc_shm.lo apc_sma.lo apc_stack.lo apc_signal.lo apc_pool.lo apc_iterator.lo -lphp7 -lrt libtool: link: cc -shared .libs/apc.o .libs/apc_lock.o .libs/php_apc.o .libs/apc_cache.o .libs/apc_mmap.o .libs/apc_shm.o .libs/apc_sma.o .libs/apc_stack.o .libs/apc_signal.o .libs/apc_pool.o .libs/apc_iterator.o -lphp7 -lrt -g -O2 -o .libs/apcu.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/apcu.dll.a .libs/apc_iterator.o: In function `apc_iterator_search_match': /tmp/pear/temp/apcu/apc_iterator.c:199: undefined reference to `pcre_exec' /tmp/pear/temp/apcu/apc_iterator.c:199:(.text+0x450): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `pcre_exec' collect2: error: ld returned 1 exit status make: *** [Makefile:220:apcu.la] 错误 1 ERROR: `make' failed