Skip to content

Commit 2d95a79

Browse files
authored
Update building prereqs to include libjq (drasi-project#83)
1 parent e0d4d5d commit 2d95a79

File tree

1 file changed

+13
-0
lines changed
  • docs/contributing/contributing-code/contributing-code-prerequisites

1 file changed

+13
-0
lines changed

docs/contributing/contributing-code/contributing-code-prerequisites/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ This is the list of core dependencies to install for the most common tasks. In g
1717
- [Git](https://git-scm.com/downloads)
1818
- [Rust](https://www.rust-lang.org/tools/install)
1919

20+
### Shared Libraries
21+
22+
#### libjq
23+
24+
Building the `middleware` crate will require `libjq` to be installed in your system. This can be done by [installing JQ](https://jqlang.org/download/) using your system package manager, such as Homebrew on MacOS, vcpkg on Windows or apt on Linux. Depending on your installation, you may also need to manually set the `JQ_LIB_DIR` environment variable if the build cannot automatically find it. Some common places where you might find this are:
25+
26+
| Package Manager | Path |
27+
|-|-|
28+
| Homebrew | `/opt/homebrew/lib` |
29+
| apt | `/usr/lib/x86_64-linux-gnu` |
30+
| tdnf | `/usr/lib64` |
31+
| vcpkg | `C:\vcpkg\installed\x64-windows\lib` |
32+
| Chocolatey | `C:\ProgramData\chocolatey\lib` |
2033

2134
### Enable Git Hooks
2235

0 commit comments

Comments
 (0)