diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md index 4e5ac72e..bf9dca1f 100644 --- a/docs/cn/getting_started.md +++ b/docs/cn/getting_started.md @@ -243,7 +243,7 @@ git clone https://github.com/google/googletest -b release-1.10.0 && cd googletes ### OpenSSL Monterey中openssl的安装位置可能不再位于`/usr/local/opt/openssl`,很可能会在`/opt/homebrew/Cellar`目录下,如果编译时报告找不到openssl: -* 先运行`brew link openssl --force`看看`/user/local/opt/openssl`是否出现了 +* 先运行`brew link openssl --force`看看`/usr/local/opt/openssl`是否出现了 * 没有的话可以自行设置软链:`sudo ln -s /opt/homebrew/Cellar/openssl@3/3.0.3 /usr/local/opt/openssl`。请注意此命令中openssl的目录可能随环境变化而变化,可通过`brew info openssl`查看。 ### 使用config_brpc.sh编译brpc diff --git a/docs/en/getting_started.md b/docs/en/getting_started.md index 8969c603..3baf3a67 100644 --- a/docs/en/getting_started.md +++ b/docs/en/getting_started.md @@ -247,7 +247,7 @@ After the compilation, copy `include/` and `lib/` into `/usr/local/include` and openssl installed in Monterey may not be found at `/usr/local/opt/openssl`, instead it's probably put under `/opt/homebrew/Cellar`. If the compiler cannot find openssl: -* Run `brew link openssl --force` first and check if `/user/local/opt/openssl` appears. +* Run `brew link openssl --force` first and check if `/usr/local/opt/openssl` appears. * If above command does not work, consider making a soft link using `sudo ln -s /opt/homebrew/Cellar/openssl@3/3.0.3 /usr/local/opt/openssl`. Note that the installed openssl in above command may be put in different places in different environments, which could be revealed by running `brew info openssl`. ### Compile brpc with config_brpc.sh