Undefined symbol: socket_ce with PHP 8 + Event 3.0.2r1

Issue #67 invalid
Michael Babker created an issue

This is a Docker image running Ubuntu 18.04 with PHP installed from the ondrej/php PPA. The pecl install event command looks to have completed without any issue.

PHP Version Info:

root@app-web-fb5d6b48c-5gxpm:/var/www/html# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'event.so' (tried: /usr/lib/php/20200930/event.so (/usr/lib/php/20200930/event.so: undefined symbol: socket_ce), /usr/lib/php/20200930/event.so.so (/usr/lib/php/20200930/event.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.0.3 (cli) (built: Mar  5 2021 07:53:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies

PHP module info:

root@app-web-fb5d6b48c-5gxpm:/var/www/html# php -m
PHP Warning:  PHP Startup: Unable to load dynamic library 'event.so' (tried: /usr/lib/php/20200930/event.so (/usr/lib/php/20200930/event.so: undefined symbol: socket_ce), /usr/lib/php/20200930/event.so.so (/usr/lib/php/20200930/event.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
intl
json
libxml
mailparse
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
uuid
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

PECL install log:

WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading event-3.0.2r1.tgz ...
Starting to download event-3.0.2r1.tgz (198,176 bytes)
.........................................done: 198,176 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
Enable internal debugging in Event [no] : Enable sockets support in Event [yes] : libevent installation prefix [/usr] : Include libevent's pthreads library and enable thread safety support in Event [no] : Include libevent protocol-specific functionality support including HTTP, DNS, and RPC [yes] : Include libevent OpenSSL support [yes] : PHP Namespace for all Event classes [no] : openssl installation prefix [no] : building in /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1
running: /tmp/pear/temp/event/configure --with-php-config=/usr/bin/php-config --enable-event-debug=no --enable-event-sockets=yes --with-event-libevent-dir=/usr --with-event-pthreads=no --with-event-extra --with-event-openssl --with-event-ns=no --with-openssl-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20200930
checking for PHP installed headers prefix... /usr/include/php/20200930
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for Event core support... yes, shared
checking for Event thread safety support... no
checking for Event extra functionality support... yes
checking for OpenSSL support in Event... yes
checking for custom PHP namespace in Event... no
checking for OpenSSL installation prefix... no
checking whether Event debugging support enabled... no
checking whether to enable sockets support in Event... yes
checking PHP version... PHP 8.x
checking for include/event2/event.h... found in /usr
checking for libevent version... ok
checking for event_free in -levent_core... yes
checking for evdns_base_free in -levent_extra... yes
checking for OPENSSL... yes
checking for bufferevent_openssl_get_ssl in -levent_openssl... yes
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 /usr/include/php/20200930/ext/sockets/php_sockets.h usability... yes
checking /usr/include/php/20200930/ext/sockets/php_sockets.h presence... yes
checking for /usr/include/php/20200930/ext/sockets/php_sockets.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) 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... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /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... -fPIC -DPIC
checking if cc PIC flag -fPIC -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/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/php_event.c -o php8/php_event.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/php_event.c  -fPIC -DPIC -o php8/.libs/php_event.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/util.c -o php8/src/util.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/util.c  -fPIC -DPIC -o php8/src/.libs/util.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/fe.c -o php8/src/fe.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/fe.c  -fPIC -DPIC -o php8/src/.libs/fe.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/pe.c -o php8/src/pe.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/src/pe.c  -fPIC -DPIC -o php8/src/.libs/pe.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event.c -o php8/classes/event.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event.c  -fPIC -DPIC -o php8/classes/.libs/event.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/base.c -o php8/classes/base.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/base.c  -fPIC -DPIC -o php8/classes/.libs/base.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event_config.c -o php8/classes/event_config.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event_config.c  -fPIC -DPIC -o php8/classes/.libs/event_config.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/buffer_event.c -o php8/classes/buffer_event.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/buffer_event.c  -fPIC -DPIC -o php8/classes/.libs/buffer_event.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/buffer.c -o php8/classes/buffer.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/buffer.c  -fPIC -DPIC -o php8/classes/.libs/buffer.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event_util.c -o php8/classes/event_util.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/event_util.c  -fPIC -DPIC -o php8/classes/.libs/event_util.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/dns.c -o php8/classes/dns.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/dns.c  -fPIC -DPIC -o php8/classes/.libs/dns.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/listener.c -o php8/classes/listener.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/listener.c  -fPIC -DPIC -o php8/classes/.libs/listener.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http.c -o php8/classes/http.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http.c  -fPIC -DPIC -o php8/classes/.libs/http.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http_request.c -o php8/classes/http_request.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http_request.c  -fPIC -DPIC -o php8/classes/.libs/http_request.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http_connection.c -o php8/classes/http_connection.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/http_connection.c  -fPIC -DPIC -o php8/classes/.libs/http_connection.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=compile cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2   -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/ssl_context.c -o php8/classes/ssl_context.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/event -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8 -DHAVE_CONFIG_H -g -O2 -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /tmp/pear/temp/event/php8/classes/ssl_context.c  -fPIC -DPIC -o php8/classes/.libs/ssl_context.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=link cc -shared -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/include -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/main -I/tmp/pear/temp/event -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/php8 -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/src -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8/classes -I/tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/php8  -DHAVE_CONFIG_H  -g -O2    -o event.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules  php8/php_event.lo php8/src/util.lo php8/src/fe.lo php8/src/pe.lo php8/classes/event.lo php8/classes/base.lo php8/classes/event_config.lo php8/classes/buffer_event.lo php8/classes/buffer.lo
 php8/classes/event_util.lo php8/classes/dns.lo php8/classes/listener.lo php8/classes/http.lo php8/classes/http_request.lo php8/classes/http_connection.lo php8/classes/ssl_context.lo -levent_openssl -levent_extra -levent_core -lssl -lcrypto
libtool: link: cc -shared  -fPIC -DPIC  php8/.libs/php_event.o php8/src/.libs/util.o php8/src/.libs/fe.o php8/src/.libs/pe.o php8/classes/.libs/event.o php8/classes/.libs/base.o php8/classes/.libs/event_config.o php8/classes/.libs/buffer_event.o php8/classes/.libs/buffer.o php8/classes/.libs/event_util.o php8/classes/.libs/dns.o php8/classes/.libs/listener.o php8/classes/.libs/http.o php8/classes/.libs/http_request.o php8/classes/.libs/http_connection.o php8/classes/.libs/ssl_context.o   -levent_openssl -levent_extra -levent_core -lssl -lcrypto  -g -O2   -Wl,-soname -Wl,event.so -o .libs/event.so
libtool: link: ( cd ".libs" && rm -f "event.la" && ln -s "../event.la" "event.la" )
/bin/bash /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/libtool --mode=install cp ./event.la /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules
libtool: install: cp ./.libs/event.so /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules/event.so
libtool: install: cp ./.libs/event.lai /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules/event.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/pear/temp/pear-build-defaultuserRn8PTG/event-3.0.2r1/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1" install
Installing shared extensions:     /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr/lib/php/20200930/
running: find "/tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1" | xargs ls -dils
3027259    4 drwxr-xr-x. 3 root root    4096 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1
3027261    4 drwxr-xr-x. 3 root root    4096 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr
3027262    4 drwxr-xr-x. 3 root root    4096 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr/lib
3027263    4 drwxr-xr-x. 3 root root    4096 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr/lib/php
3027264    4 drwxr-xr-x. 2 root root    4096 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr/lib/php/20200930
3027265 1012 -rwxr-xr-x. 1 root root 1032536 Mar 26 15:36 /tmp/pear/temp/pear-build-defaultuserRn8PTG/install-event-3.0.2r1/usr/lib/php/20200930/event.so

Build process completed successfully
Installing '/usr/lib/php/20200930/event.so'
install ok: channel://pecl.php.net/event-3.0.2r1 

Comments (5)

  1. Ruslan Osmanov repo owner

    The issue is in the order of extension loading. PHP loads its .ini configuration files in alphabetical order.

    On Ubuntu you most likely have /etc/php/8.0/cli/conf.d/20-sockets.ini file with extension=sockets.so directive. You didn't mention where the event extension was configured, but I guess it is somewhere before (in alphabetical order) the sockets configuration, e.g. /etc/php/8.0/cli/conf.d/20-event.ini. PHP first tries to load event.so which uses the symbols from sockets.so, but the latter is not loaded, because it goes after 20-event.ini in alphabetical order. Thus, loading of event extension fails.

    The fix is to rename the event configuration file to something like /etc/php/8.0/cli/conf.d/90-event.ini (which goes after 20-sockets.ini.)

  2. Log in to comment