Skip to content

Commit

Permalink
docs: solution for lualdap when install failed with luarocks (#6227)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwanhur authored Jan 29, 2022
1 parent 20dfb3b commit 82d17ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/latest/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ Please refer to: [Installing Apache APISIX with Helm Chart](https://github.com/a
$ make install
```

- 4.1 `make deps` install `lualdap` failed, error like: `Could not find header file for LDAP`

Solution: set `LDAP_DIR` with `luarocks config` manually, for example `luarocks config variables.LDAP_DIR /usr/local/opt/openldap/`

## Step 2: Install ETCD

This step is required if you have installed only Apache APISIX via RPM, Docker or source code but not ETCD.
Expand Down
4 changes: 4 additions & 0 deletions docs/zh/latest/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ $ sudo yum install ./apisix/*.rpm
$ make install
```

- 4.1 `make deps` 安装 `lualdap` 失败, 错误信息如: `Could not find header file for LDAP`

解决方案: 通过 `luarocks config` 手动设置 `LDAP_DIR` 变量, 比如 `luarocks config variables.LDAP_DIR /usr/local/opt/openldap/`

## 步骤2:安装 ETCD

如果你只通过 RPM、Docker 或源代码安装了 Apache APISIX,而没有安装 ETCD,则需要这一步。
Expand Down

0 comments on commit 82d17ab

Please sign in to comment.