GithubHelp home page GithubHelp logo

Comments (11)

heyanlong avatar heyanlong commented on May 22, 2024 1

Upgrading, use boost-(uuid, regex) instead.
Please wait for new release

from skyapm-php-sdk.

heyanlong avatar heyanlong commented on May 22, 2024

please install uuid-dev and remake

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

os:centos 7
the uuid-devel and libuuid-devel had be installed both.
lrwxrwxrwx 1 root root 16 Mar 14 19:41 libuuid.so -> libuuid.so.1.3.0
lrwxrwxrwx 1 root root 16 Mar 14 19:57 libuuid.so.1 -> libuuid.so.1.3.0
-rwxr-x--- 1 root root 18936 Mar 14 19:58 libuuid.so.1.3.0

from skyapm-php-sdk.

heyanlong avatar heyanlong commented on May 22, 2024

What is the output of running ?

pkg-config --cflags --libs uuid protobuf grpc++ grpc

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

like this:

pkg-config --cflags --libs uuid protobuf

-pthread -I/usr/include/uuid -I/usr/local/include  -pthread -L/usr/local/lib -luuid -lprotobuf

when i run this:

pkg-config --cflags --libs grpc++ grpc

Package gpr was not found in the pkg-config search path.
Perhaps you should add the directory containing `gpr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gpr', required by 'gRPC', not found

but the all four .pc files : grpc.pc,grpc++.pc,uuid.pc,protobuf.pc are in /usr/lib64/pkgconfig

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

php version is 7.2.1
g++ 4.8.5

from skyapm-php-sdk.

heyanlong avatar heyanlong commented on May 22, 2024

See
install-agent.md

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

so? g++ version < 4.9 caused the problem?

from skyapm-php-sdk.

heyanlong avatar heyanlong commented on May 22, 2024

Version less than 4.9 does not have full cpp11 support

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

Thanks for your help and it works. But there is a new problem.

run : ldd skywalking.so

output:

[root@localhost ext]# ldd skywalking.so
linux-vdso.so.1 => (0x00007fff6677e000)
libuuid.so.1 => /usr/local/lib/libuuid.so.1 (0x00007f68ba839000)
libprotobuf.so.18 => /usr/local/lib/libprotobuf.so.18 (0x00007f68ba397000)
libgrpc++.so.1 => /usr/local/lib/libgrpc++.so.1 (0x00007f68ba0fd000)
libgrpc.so.7 => /usr/local/lib/libgrpc.so.7 (0x00007f68b9d61000)
libgrpc++_reflection.so.1 => /usr/local/lib/libgrpc++_reflection.so.1 (0x00007f68b9b11000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f68b990d000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f68b958c000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f68b9376000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f68b915a000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f68b8d8d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f68badb2000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007f68b8b77000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f68b8875000)
librt.so.1 => /usr/lib64/librt.so.1 (0x00007f68b866d000)
libgpr.so.7 => /usr/local/lib/libgpr.so.7 (0x00007f68b8461000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f68b81ef000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f68b7d8e000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f68b7b41000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f68b7858000)
libcom_err.so.2 => /usr/lib64/libcom_err.so.2 (0x00007f68b7654000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f68b7421000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f68b7211000)
libkeyutils.so.1 => /usr/lib64/libkeyutils.so.1 (0x00007f68b700d000)
libresolv.so.2 => /usr/lib64/libresolv.so.2 (0x00007f68b6df4000)
libselinux.so.1 => /usr/lib64/libselinux.so.1 (0x00007f68b6bcd000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f68b696b000)

but when I run "php -m", the Segmentation fault happened. Why?

from skyapm-php-sdk.

chen0401 avatar chen0401 commented on May 22, 2024

Thanks for ur help.

from skyapm-php-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.