merlimat commented on code in PR #18080:
URL: https://github.com/apache/pulsar/pull/18080#discussion_r997720117


##########
site2/docs/client-libraries-cpp.md:
##########
@@ -25,6 +25,31 @@ Use [Homebrew](http://brew.sh/) to install the latest tagged 
version with the li
 brew install libpulsar
 ```
 
+Get the installation path of libpulsar
+
+```shell
+brew info libpulsar
+```
+
+Set the variable `PULSAR_CPP_DIR` with the `pulsar-client-cpp` path in a mac 
command tool.
+
+```shell
+# for example
+## Intel x86_64
+export PULSAR_CPP_DIR=/usr/local/Cellar/libpulsar/2.9.1_1
+
+## Apple Silicon and Homebrew since 3.0.0
+## cf. https://brew.sh/2021/02/05/homebrew-3.0.0/
+export PULSAR_CPP_DIR=/opt/homebrew/Cellar/libpulsar/2.9.1_1
+```
+
+Set the variable `LIBRARY_PATH` with `lib` of the `pulsar-client-cpp` path.
+
+```shell
+# for example
+export LIBRARY_PATH=/opt/homebrew/Cellar/libpulsar/2.9.1_1/lib

Review Comment:
   `brew` should be doing this automatically already. If that is not the case, 
it should be done with `brew link libpulsar`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to