When I run pecl install mysql_xdevapi
in the terminal I get the following error:
configure: error: protobuf not found, please install it in system, consider use of --with-protobuf or setting MYSQL_XDEVAPI_PROTOBUF_ROOT
I then installed 'protobuf' via brew install protobuf
. Running protoc --version
gives me:
libprotoc 3.12.4
So it seems like 'protobuf' is installed. When I then run pecl install mysql_xdevapi
again I get the same error that tells me 'protobuf' is not installed. I've tried pretty much everything I found in this post: Installing Google Protocol Buffers on mac but nothing seems to work.
I'm running macOS Catalina (10.15.6), PHP 7.3.20 (installed via brew
).
Thank you very much in advance!