SkyAPM / SkyAPM-php-sdk

Replaced by https://github.com/apache/skywalking-php
https://skywalking.apache.org/
Apache License 2.0
421 stars 104 forks source link

pecl install skywaking failed #467

Closed YazaiHu closed 2 years ago

YazaiHu commented 2 years ago
image

protobuf,grpc have installed,and then use pecl install skywalking extension failed,how to solve it? thanks

heyanlong commented 2 years ago

Need to install gRPC dynamic library

YazaiHu commented 2 years ago

gRPC dynamic library

I have done this: brew install grpc, pecl install grpc, then I use pecl install skywalking,it failed. how to do? thanks.

YazaiHu commented 2 years ago

Need to install gRPC dynamic library @heyanlong can you tell me how to solve this problem? let me make it success by the command: pecl install skywalking, thanks.

YazaiHu commented 2 years ago
image image

This is my install command.

YazaiHu commented 2 years ago
image image

This is my install command.

@heyanlong

YazaiHu commented 2 years ago
image

Final result.

heyanlong commented 2 years ago

Maybe you should link /usr/local/include/grpc -> /usr/local/opt/grpc/include

YazaiHu commented 2 years ago

Maybe you should link /usr/local/include/grpc -> /usr/local/opt/grpc/include

Nope!

heyanlong commented 2 years ago

See this document https://github.com/SkyAPM/SkyAPM-php-sdk/blob/master/docs/BUILDING.md