Fix typo: /user is /usr (#1886)

This commit is contained in:
果冻虾仁
2022-08-15 11:22:39 +08:00
committed by GitHub
parent f303256faa
commit d82f8667cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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