Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

PHP Startup: Unable to load dynamic library 'skywalking' _ZN4absl14lts_2020_09_237CondVar4WaitEPNS0_5MutexE #398

Closed
Novemberinp opened this issue Jul 20, 2021 · 22 comments

Comments

@Novemberinp
Copy link

Build from source (PHP Extension):

curl -Lo v4.1.2.tar.gz https://github.com/SkyAPM/SkyAPM-php-sdk/archive/v4.1.2.tar.gz
tar zxvf v4.1.2.tar.gz
cd SkyAPM-php-sdk-4.1.2
phpize
./configure --with-grpc="/var/local/git/grpc"
make
sudo make install

enable entension skywalking:
image

ldd return:
image

@heyanlong
Copy link
Member

Please use 4.1.3 or newer version

@Novemberinp
Copy link
Author

Novemberinp commented Jul 21, 2021

use 4.1.3:
grpc path: /usr/local/grpc
configure error:
image
image

@heyanlong
Copy link
Member

@Novemberinp
Copy link
Author

Has been compiled grpc and success

@heyanlong
Copy link
Member

Can the dir of libgrpc.a be found find?

@Novemberinp
Copy link
Author

Novemberinp commented Jul 22, 2021

image
目前是有这个错误,此外还需要装哪些扩展呢,php version 7.4

@heyanlong
Copy link
Member

安装mysql扩展。

@Novemberinp
Copy link
Author

Novemberinp commented Jul 22, 2021

请教一下,php版本已经是7 了 ,已经放弃使用mysql扩展了为何php_mysqli_structs.h还是有include mysql.h呢,是alpine 需要安装哪个扩展吗

@Novemberinp
Copy link
Author

alpine 下没有msyql扩展如何安装

@heyanlong
Copy link
Member

mysqlnd?

@Novemberinp
Copy link
Author

Novemberinp commented Jul 22, 2021

mysqlnd是开启的,但是重新执行configure后又编译成功了
编译后还是提示:

PHP Warning:  PHP Startup: Unable to load dynamic library 'skywalking' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/skywalking (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20190902/skywalking: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/skywalking.so (Error relocating /usr/local/lib/php/extensions/no-debug-non-zts-20190902/skywalking.so: _ZN4absl14lts_2020_09_237CondVar4WaitEPNS0_5MutexE: symbol not found)) in Unknown on line 0
PHP 7.4.21 (cli) (built: Jul  1 2021 20:02:21) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

image

@heyanlong
Copy link
Member

每一个执行的命令和日志发出来看看?

@Novemberinp
Copy link
Author

Novemberinp commented Jul 22, 2021

  1. grpc
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c   - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for res_servicename in resolv
-- Looking for res_servicename in resolv - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
-- Looking for gethostbyname in socket
-- Looking for gethostbyname in socket - not found
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file arpa/inet.h
-- Looking for include file arpa/inet.h - found
-- Looking for include file arpa/nameser_compat.h
-- Looking for include file arpa/nameser_compat.h - found
-- Looking for include file arpa/nameser.h
-- Looking for include file arpa/nameser.h - found
-- Looking for include file assert.h
-- Looking for include file assert.h - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file netdb.h
-- Looking for include file netdb.h - found
-- Looking for include file netinet/in.h
-- Looking for include file netinet/in.h - found
-- Looking for include file netinet/tcp.h
-- Looking for include file netinet/tcp.h - found
-- Looking for include file net/if.h
-- Looking for include file net/if.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file socket.h
-- Looking for include file socket.h - not found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file stropts.h
-- Looking for include file stropts.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file time.h
-- Looking for include file time.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include files winsock2.h, windows.h
-- Looking for include files winsock2.h, windows.h - not found
-- Looking for 3 include files winsock2.h, ..., windows.h
-- Looking for 3 include files winsock2.h, ..., windows.h - not found
-- Looking for include files winsock.h, windows.h
-- Looking for include files winsock.h, windows.h - not found
-- Looking for include file windows.h
-- Looking for include file windows.h - not found
-- Performing Test HAVE_SOCKLEN_T
-- Performing Test HAVE_SOCKLEN_T - Success
-- Performing Test HAVE_TYPE_SOCKET
-- Performing Test HAVE_TYPE_SOCKET - Failed
-- Performing Test HAVE_BOOL_T
-- Performing Test HAVE_BOOL_T - Success
-- Performing Test HAVE_SSIZE_T
-- Performing Test HAVE_SSIZE_T - Success
-- Performing Test HAVE_LONGLONG
-- Performing Test HAVE_LONGLONG - Success
-- Performing Test HAVE_SIG_ATOMIC_T
-- Performing Test HAVE_SIG_ATOMIC_T - Success
-- Performing Test HAVE_STRUCT_ADDRINFO
-- Performing Test HAVE_STRUCT_ADDRINFO - Success
-- Performing Test HAVE_STRUCT_IN6_ADDR
-- Performing Test HAVE_STRUCT_IN6_ADDR - Success
-- Performing Test HAVE_STRUCT_SOCKADDR_IN6
-- Performing Test HAVE_STRUCT_SOCKADDR_IN6 - Success
-- Performing Test HAVE_STRUCT_SOCKADDR_STORAGE
-- Performing Test HAVE_STRUCT_SOCKADDR_STORAGE - Success
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Looking for AF_INET6
-- Looking for AF_INET6 - found
-- Looking for O_NONBLOCK
-- Looking for O_NONBLOCK - found
-- Looking for FIONBIO
-- Looking for FIONBIO - found
-- Looking for SIOCGIFADDR
-- Looking for SIOCGIFADDR - found
-- Looking for MSG_NOSIGNAL
-- Looking for MSG_NOSIGNAL - found
-- Looking for PF_INET6
-- Looking for PF_INET6 - found
-- Looking for SO_NONBLOCK
-- Looking for SO_NONBLOCK - not found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - found
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Success
-- Performing Test HAVE_LL
-- Performing Test HAVE_LL - Success
-- Looking for bitncmp
-- Looking for bitncmp - not found
-- Looking for closesocket
-- Looking for closesocket - not found
-- Looking for CloseSocket
-- Looking for CloseSocket - not found
-- Looking for connect
-- Looking for connect - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getenv
-- Looking for getenv - found
-- Looking for gethostbyaddr
-- Looking for gethostbyaddr - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for gethostname
-- Looking for gethostname - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getservbyport_r
-- Looking for getservbyport_r - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for if_indextoname
-- Looking for if_indextoname - found
-- Looking for inet_net_pton
-- Looking for inet_net_pton - not found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for ioctlsocket
-- Looking for ioctlsocket - not found
-- Looking for IoctlSocket
-- Looking for IoctlSocket - not found
-- Looking for recv
-- Looking for recv - found
-- Looking for recvfrom
-- Looking for recvfrom - found
-- Looking for send
-- Looking for send - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for socket
-- Looking for socket - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strcmpi
-- Looking for strcmpi - not found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strncmpi
-- Looking for strncmpi - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for writev
-- Looking for writev - found
-- Looking for __system_property_get
-- Looking for __system_property_get - not found
--
-- 3.13.0.0
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Renaming
--     /usr/local/grpc/third_party/zlib/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/grpc/cmake/build
bash-5.1# make -j$(nproc)
………………
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/common/tls_credentials_options_util.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/common/validate_service_config.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/common/version_cc.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/async_generic_service.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/channel_argument_option.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/create_default_thread_pool.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/dynamic_thread_pool.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/external_connection_acceptor_impl.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/health/default_health_check_service.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/health/health_check_service.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/health/health_check_service_server_builder_option.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/insecure_server_credentials.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/secure_server_credentials.cc.o
[ 98%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_builder.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_callback.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_cc.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_context.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_credentials.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/server/server_posix.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/thread_manager/thread_manager.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/util/byte_buffer_cc.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/util/status.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/util/string_ref.cc.o
[ 99%] Building CXX object CMakeFiles/grpc  .dir/src/cpp/util/time_cc.cc.o
[ 99%] Linking CXX static library libgrpc  .a
[ 99%] Built target grpc  
[100%] Running gRPC C   protocol buffer compiler on src/proto/grpc/reflection/v1alpha/reflection.proto
[100%] Running gRPC C   protocol buffer compiler on src/proto/grpc/channelz/channelz.proto
Scanning dependencies of target grpc  _alts
[100%] Running gRPC C   protocol buffer compiler on src/proto/grpc/status/status.proto
Scanning dependencies of target grpc  _error_details
[100%] Building CXX object CMakeFiles/grpc  _alts.dir/src/cpp/common/alts_context.cc.o
[100%] Building CXX object CMakeFiles/grpc  _alts.dir/src/cpp/common/alts_util.cc.o
Scanning dependencies of target grpc  _reflection
[100%] Building CXX object CMakeFiles/grpc  _error_details.dir/gens/src/proto/grpc/status/status.pb.cc.o
[100%] Building CXX object CMakeFiles/grpc  _error_details.dir/gens/src/proto/grpc/status/status.grpc.pb.cc.o
[100%] Building CXX object CMakeFiles/grpc  _reflection.dir/gens/src/proto/grpc/reflection/v1alpha/reflection.pb.cc.o

2.skywalking

curl -Lo v4.1.3.tar.gz https://github.com/SkyAPM/SkyAPM-php-sdk/archive/v4.1.3.tar.gz
tar zxvf v4.1.3.tar.gz
cd SkyAPM-php-sdk-4.1.3
phpize
 ./configure --with-grpc="/usr/local/grpc"
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-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for g  ... g  
checking whether we are using the GNU C   compiler... yes
checking whether g   accepts -g... yes
checking how to run the C   preprocessor... g   -E
checking whether to enable skywalking support... yes, shared
checking whether C   compiler accepts -std=c  0x... yes
checking for php_json.h... found in /usr/local/include/php
checking for grpc files in /var/local/git/grpc path... configure: error: not found /var/local/git/grpc/cmake/build/libgrpc.a
bash-5.1# ./configure --with-grpc="/usr/local/grpc"
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-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for g  ... g  
checking whether we are using the GNU C   compiler... yes
checking whether g   accepts -g... yes
checking how to run the C   preprocessor... g   -E
checking whether to enable skywalking support... yes, shared
checking whether C   compiler accepts -std=c  0x... yes
checking for php_json.h... found in /usr/local/include/php
checking for grpc files in /usr/local/grpc path... found in /usr/local/grpc/cmake/build/libgrpc.a
found in /usr/local/grpc/cmake/build/libgpr.a
found in /usr/local/grpc/cmake/build/libgrpc  .a
found in /usr/local/grpc/cmake/build/libupb.a
found in /usr/local/grpc/cmake/build/libaddress_sorting.a
found in /usr/local/grpc/cmake/build/third_party/protobuf/libprotobuf.a
found in /usr/local/grpc/cmake/build/third_party/re2/libre2.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_strings.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_str_format_internal.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/numeric/libabsl_int128.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/types/libabsl_bad_optional_access.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_base.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_throw_delegate.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_raw_logging_internal.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time.a
found in /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time_zone.a
found in /usr/local/grpc/cmake/build/third_party/cares/cares/lib/libcares.a
found in /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libssl.a
found in /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libcrypto.a
checking for protoc... /usr/local/grpc/cmake/build/third_party/protobuf/protoc
checking for grpc_cpp_plugin... /usr/local/grpc/cmake/build/grpc_cpp_plugin
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C   preprocessor... g   -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-alpine-linux-musl/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

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g  ... /usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g   linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g   option to produce PIC... -fPIC
checking if g   PIC flag -fPIC works... yes
checking if g   static flag -static works... yes
checking if g   supports -c -o file.o... yes
checking whether the g   linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
****************************make******************
 make
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/skywalking.cc -o skywalking.lo
mkdir .libs
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/skywalking.cc  -fPIC -DPIC -o .libs/skywalking.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/base64.cc -o src/base64.lo
mkdir src/.libs
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/base64.cc  -fPIC -DPIC -o src/.libs/base64.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/cross_process_bag.cc -o src/cross_process_bag.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/cross_process_bag.cc  -fPIC -DPIC -o src/.libs/cross_process_bag.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/manager.cc -o src/manager.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/manager.cc  -fPIC -DPIC -o src/.libs/manager.o
/usr/local/SkyAPM-php-sdk-4.1.3/src/manager.cc:47:24: warning: 'cond_mx' defined but not used [-Wunused-variable]
   47 | static pthread_mutex_t cond_mx = PTHREAD_MUTEX_INITIALIZER;
      |                        ^~~~~~~
/usr/local/SkyAPM-php-sdk-4.1.3/src/manager.cc:46:23: warning: 'cond' defined but not used [-Wunused-variable]
   46 | static pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
      |                       ^~~~
/usr/local/SkyAPM-php-sdk-4.1.3/src/manager.cc:45:24: warning: 'mx' defined but not used [-Wunused-variable]
   45 | static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER;
      |                        ^~
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/segment.cc -o src/segment.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/segment.cc  -fPIC -DPIC -o src/.libs/segment.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/segment_reference.cc -o src/segment_reference.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/segment_reference.cc  -fPIC -DPIC -o src/.libs/segment_reference.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_core_span_log.cc -o src/sky_core_span_log.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_core_span_log.cc  -fPIC -DPIC -o src/.libs/sky_core_span_log.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_execute.cc -o src/sky_execute.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_execute.cc  -fPIC -DPIC -o src/.libs/sky_execute.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_grpc.cc -o src/sky_grpc.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_grpc.cc  -fPIC -DPIC -o src/.libs/sky_grpc.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_log.cc -o src/sky_log.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_log.cc  -fPIC -DPIC -o src/.libs/sky_log.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_module.cc -o src/sky_module.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_module.cc  -fPIC -DPIC -o src/.libs/sky_module.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_mysqli.cc -o src/sky_plugin_mysqli.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_mysqli.cc  -fPIC -DPIC -o src/.libs/sky_plugin_mysqli.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_pdo.cc -o src/sky_pdo.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_pdo.cc  -fPIC -DPIC -o src/.libs/sky_pdo.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_curl.cc -o src/sky_plugin_curl.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_curl.cc  -fPIC -DPIC -o src/.libs/sky_plugin_curl.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_error.cc -o src/sky_plugin_error.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_error.cc  -fPIC -DPIC -o src/.libs/sky_plugin_error.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_hyperf_guzzle.cc -o src/sky_plugin_hyperf_guzzle.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_hyperf_guzzle.cc  -fPIC -DPIC -o src/.libs/sky_plugin_hyperf_guzzle.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_predis.cc -o src/sky_plugin_predis.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_predis.cc  -fPIC -DPIC -o src/.libs/sky_plugin_predis.o
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_predis.cc: In function 'std::string sky_predis_command(zval*, zval*)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_predis.cc:108:20: warning: variable 'key' set but not used [-Wunused-but-set-variable]
  108 |         zend_ulong key;
      |                    ^~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_rabbit_mq.cc -o src/sky_plugin_rabbit_mq.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_rabbit_mq.cc  -fPIC -DPIC -o src/.libs/sky_plugin_rabbit_mq.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc -o src/sky_plugin_redis.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc  -fPIC -DPIC -o src/.libs/sky_plugin_redis.o
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc: In function 'std::string sky_plugin_redis_set_cmd(zend_execute_data*, std::string)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc:344:28: warning: variable 'nk' set but not used [-Wunused-but-set-variable]
  344 |                 zend_ulong nk;
      |                            ^~
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc: In function 'std::string sky_plugin_redis_multi_key_value_cmd(zend_execute_data*, std::string)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc:380:24: warning: variable 'nk' set but not used [-Wunused-but-set-variable]
  380 |             zend_ulong nk;
      |                        ^~
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc: In function 'std::string sky_plugin_redis_multi_key_cmd(zend_execute_data*, std::string)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc:483:24: warning: variable 'index' set but not used [-Wunused-but-set-variable]
  483 |             zend_ulong index;
      |                        ^~~~~
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc: In function 'std::string sky_plugin_redis_uncertain_keys_cmd(zend_execute_data*, std::string)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc:517:24: warning: variable 'index' set but not used [-Wunused-but-set-variable]
  517 |             zend_ulong index;
      |                        ^~~~~
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc: In function 'std::string sky_plugin_redis_eval_cmd(zend_execute_data*, std::string)':
/usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_redis.cc:618:32: warning: variable 'index' set but not used [-Wunused-but-set-variable]
  618 |                     zend_ulong index;
      |                                ^~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_swoole_curl.cc -o src/sky_plugin_swoole_curl.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_plugin_swoole_curl.cc  -fPIC -DPIC -o src/.libs/sky_plugin_swoole_curl.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_shm.cc -o src/sky_shm.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_shm.cc  -fPIC -DPIC -o src/.libs/sky_shm.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_utils.cc -o src/sky_utils.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/sky_utils.cc  -fPIC -DPIC -o src/.libs/sky_utils.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/span.cc -o src/span.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/span.cc  -fPIC -DPIC -o src/.libs/span.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/tag.cc -o src/tag.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/tag.cc  -fPIC -DPIC -o src/.libs/tag.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/common/Common_grpc.pb.cc -o src/network/v3/common/Common_grpc.lo
mkdir src/network/v3/common/.libs
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/common/Common_grpc.pb.cc  -fPIC -DPIC -o src/network/v3/common/.libs/Common_grpc.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/common/Common.pb.cc -o src/network/v3/common/Common.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/common/Common.pb.cc  -fPIC -DPIC -o src/network/v3/common/.libs/Common.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/language-agent/Tracing.pb.cc -o src/network/v3/language-agent/Tracing.lo
mkdir src/network/v3/language-agent/.libs
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/language-agent/Tracing.pb.cc  -fPIC -DPIC -o src/network/v3/language-agent/.libs/Tracing.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/language-agent/Tracing_grpc.pb.cc -o src/network/v3/language-agent/Tracing_grpc.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/language-agent/Tracing_grpc.pb.cc  -fPIC -DPIC -o src/network/v3/language-agent/.libs/Tracing_grpc.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/management/Management_grpc.pb.cc -o src/network/v3/management/Management_grpc.lo
mkdir src/network/v3/management/.libs
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/management/Management_grpc.pb.cc  -fPIC -DPIC -o src/network/v3/management/.libs/Management_grpc.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=compile g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2 -Wall -std=c  11 -Wno-deprecated-register   -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/management/Management.pb.cc -o src/network/v3/management/Management.lo
 g   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/local/SkyAPM-php-sdk-4.1.3 -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3 -DHAVE_CONFIG_H -g -O2 -Wall -std=c  11 -Wno-deprecated-register -c /usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3/management/Management.pb.cc  -fPIC -DPIC -o src/network/v3/management/.libs/Management.o
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=link g   -DPHP_ATOM_INC -I/usr/local/SkyAPM-php-sdk-4.1.3/include -I/usr/local/SkyAPM-php-sdk-4.1.3/main -I/usr/local/SkyAPM-php-sdk-4.1.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/grpc/include -I/usr/local/grpc/third_party/protobuf/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src -I/usr/local/SkyAPM-php-sdk-4.1.3/src/network/v3  -DHAVE_CONFIG_H  -g -O2    -o skywalking.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/SkyAPM-php-sdk-4.1.3/modules /usr/local/grpc/cmake/build/libgrpc  .a /usr/local/grpc/cmake/build/libgrpc.a /usr/local/grpc/cmake/build/libgpr.a /usr/local/grpc/cmake/build/libupb.a /usr/local/grpc/cmake/build/libaddress_sorting.a /usr/local/grpc/cmake/build/third_party/protobuf/libprotobuf.a /usr/local/grpc/cmake/build/third_party/re2/libre2.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_strings.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_str_format_internal.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/numeric/libabsl_int128.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/types/libabsl_bad_optional_access.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_base.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_throw_delegate.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_raw_logging_internal.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time_zone.a /usr/local/grpc/cmake/build/third_party/cares/cares/lib/libcares.a /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libssl.a /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libcrypto.a skywalking.lo src/base64.lo src/cross_process_bag.lo src/manager.lo src/segment.lo src/segment_reference.lo src/sky_core_span_log.lo src/sky_execute.lo src/sky_grpc.lo src/sky_log.lo src/sky_module.lo src/sky_plugin_mysqli.lo src/sky_pdo.lo src/sky_plugin_curl.lo src/sky_plugin_error.lo src/sky_plugin_hyperf_guzzle.lo src/sky_plugin_predis.lo src/sky_plugin_rabbit_mq.lo src/sky_plugin_redis.lo src/sky_plugin_swoole_curl.lo src/sky_shm.lo src/sky_utils.lo src/span.lo src/tag.lo src/network/v3/common/Common_grpc.lo src/network/v3/common/Common.lo src/network/v3/language-agent/Tracing.lo src/network/v3/language-agent/Tracing_grpc.lo src/network/v3/management/Management_grpc.lo src/network/v3/management/Management.lo -lrt -ldl -lpthread

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/libgrpc  .a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/libgrpc.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/libgpr.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/libupb.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/libaddress_sorting.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/protobuf/libprotobuf.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/re2/libre2.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_strings.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_str_format_internal.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/numeric/libabsl_int128.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/types/libabsl_bad_optional_access.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_base.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_throw_delegate.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_raw_logging_internal.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time_zone.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/cares/cares/lib/libcares.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libssl.a is not portable!

*** Warning: Linking the shared library skywalking.la against the
*** static library /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libcrypto.a is not portable!
g   -shared -nostdlib /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/crtbeginS.o  .libs/skywalking.o src/.libs/base64.o src/.libs/cross_process_bag.o src/.libs/manager.o src/.libs/segment.o src/.libs/segment_reference.o src/.libs/sky_core_span_log.o src/.libs/sky_execute.o src/.libs/sky_grpc.o src/.libs/sky_log.o src/.libs/sky_module.o src/.libs/sky_plugin_mysqli.o src/.libs/sky_pdo.o src/.libs/sky_plugin_curl.o src/.libs/sky_plugin_error.o src/.libs/sky_plugin_hyperf_guzzle.o src/.libs/sky_plugin_predis.o src/.libs/sky_plugin_rabbit_mq.o src/.libs/sky_plugin_redis.o src/.libs/sky_plugin_swoole_curl.o src/.libs/sky_shm.o src/.libs/sky_utils.o src/.libs/span.o src/.libs/tag.o src/network/v3/common/.libs/Common_grpc.o src/network/v3/common/.libs/Common.o src/network/v3/language-agent/.libs/Tracing.o src/network/v3/language-agent/.libs/Tracing_grpc.o src/network/v3/management/.libs/Management_grpc.o src/network/v3/management/.libs/Management.o  /usr/local/grpc/cmake/build/libgrpc  .a /usr/local/grpc/cmake/build/libgrpc.a /usr/local/grpc/cmake/build/libgpr.a /usr/local/grpc/cmake/build/libupb.a /usr/local/grpc/cmake/build/libaddress_sorting.a /usr/local/grpc/cmake/build/third_party/protobuf/libprotobuf.a /usr/local/grpc/cmake/build/third_party/re2/libre2.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_strings.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/strings/libabsl_str_format_internal.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/numeric/libabsl_int128.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/types/libabsl_bad_optional_access.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_base.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_throw_delegate.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/base/libabsl_raw_logging_internal.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time.a /usr/local/grpc/cmake/build/third_party/abseil-cpp/absl/time/libabsl_time_zone.a /usr/local/grpc/cmake/build/third_party/cares/cares/lib/libcares.a /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libssl.a /usr/local/grpc/cmake/build/third_party/boringssl-with-bazel/libcrypto.a -lrt -ldl -lpthread -L/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1 -L/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/lib/../lib -L/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/lib -L/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../.. -lstdc   -lm -lssp_nonshared -lc -lgcc_s /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/crtendS.o /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../lib/crtn.o  -Wl,-soname -Wl,skywalking.so -o .libs/skywalking.so
creating skywalking.la
(cd .libs && rm -f skywalking.la && ln -s ../skywalking.la skywalking.la)
/bin/sh /usr/local/SkyAPM-php-sdk-4.1.3/libtool --mode=install cp ./skywalking.la /usr/local/SkyAPM-php-sdk-4.1.3/modules
cp ./.libs/skywalking.so /usr/local/SkyAPM-php-sdk-4.1.3/modules/skywalking.so
cp ./.libs/skywalking.lai /usr/local/SkyAPM-php-sdk-4.1.3/modules/skywalking.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/SkyAPM-php-sdk-4.1.3/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/SkyAPM-php-sdk-4.1.3/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

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'.

bash-5.1# make install
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20190902/

@heyanlong heyanlong changed the title PHP Startup: Unable to load dynamic library 'skywalking' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/skywalking (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20180731/skywalking: No such file or directory) PHP Startup: Unable to load dynamic library 'skywalking' _ZN4absl14lts_2020_09_237CondVar4WaitEPNS0_5MutexE Jul 22, 2021
@heyanlong
Copy link
Member

alpine 系统版本是什么呢?

@Novemberinp
Copy link
Author

3.13.5

@heyanlong
Copy link
Member

@Novemberinp
Copy link
Author

参考这里边的流程 还是有错误,这是我测试的dockerfile:

FROM php:7.4-cli-alpine3.13

# 维护者信息
MAINTAINER xiezhuo "[email protected]"

COPY --from=composer /usr/bin/composer /usr/bin/composer

ADD ./grpc /usr/local/grpc

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk update && apk upgrade
RUN apk add m4 autoconf make gcc g   linux-headers librdkafka-dev automake libtool ca-certificates file linux-headers re2c pkgconf openssl openssl-dev curl-dev boost-dev curl
RUN apk add php7-dev \
	&& cp /usr/bin/phpize7 /usr/bin/phpize
RUN pecl install http://pecl.php.net/get/redis-4.0.1.tgz
RUN pecl install swoole
RUN pecl install rdkafka
RUN pecl install msgpack
RUN docker-php-ext-install bcmath sockets mysqli
RUN docker-php-ext-enable swoole redis rdkafka msgpack
RUN mkdir -p /usr/local/app
RUN echo swoole.use_shortname=Off >> /usr/local/etc/php/conf.d/docker-php-ext-swoole.ini
RUN curl -L -o cmake-3.19.1.tar.gz  https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1.tar.gz \
    && tar zxf cmake-3.19.1.tar.gz \
    && cd cmake-3.19.1 && ./bootstrap && make -j$(nproc) && make install \
    && echo "--- installing grpc ---" \
    && cd /usr/local/grpc \
    && mkdir -p cmake/build && cd cmake/build && cmake ../.. \
    && make -j$(nproc) \
    && echo "--- installing skywalking php ---" \
	&& mkdir -p /var/local/git/skywalking \
	&& cd /var/local/git/skywalking \
	&& curl -Lo v4.1.3.tar.gz https://github.com/SkyAPM/SkyAPM-php-sdk/archive/v4.1.3.tar.gz \
    && tar zxvf v4.1.3.tar.gz \
	&& cd SkyAPM-php-sdk-4.1.3 \
    && phpize && ./configure --with-grpc=/usr/local/grpc && make && make install \
    && rm -rf /var/cache/apk/* \
    && rm -fr /var/local/git
ADD ./skywalking.ini $PHP_INI_DIR/conf.d/ext-skywalking.ini

WORKDIR /usr/local/app

网络不行,grpc 是我提前下载好的

@heyanlong
Copy link
Member

直接获取官方镜像可不可以呢?

@Novemberinp
Copy link
Author

是说用你的那个镜像吗?我需要自己一些东西,所以需要自己构建一下

@Novemberinp
Copy link
Author

Novemberinp commented Jul 23, 2021

我尝试了https://github.com/SkyAPM/SkyAPM-php-sdk/blob/master/docker/Dockerfile.7.4 用这个镜像,也是一样的错误

heyanlong added a commit that referenced this issue Jul 26, 2021
heyanlong added a commit that referenced this issue Jul 26, 2021
heyanlong added a commit that referenced this issue Nov 2, 2021
Summer 2021 https://summer.iscas.ac.cn/
Add memcached, yar
Fix memory leak
Fix myselnd
Fix #401 #398
@frui85
Copy link

frui85 commented Dec 3, 2021

编译静态库方式php71 pecl 安装的 php-sdk-agent 4.2.0 可以正常安装,但是无上报数据,并且数据使用es时无法创建索引~java-agent 可以正常创建索引。h2库 不报数据库错误但是,还是无法显示上报数据。使用动态库方式,会报 缺少 libgrpc.a

@frui85
Copy link

frui85 commented Dec 3, 2021

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants