Skip to content

Commit 4890ca0

Browse files
Merge pull request #43606 from dotnet/main
Merge main into live
2 parents 7ce21fd + 352f7f1 commit 4890ca0

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

docs/fundamentals/networking/quic/quic-overview.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,39 @@ All the following dependencies are stated in the `libmsquic` package manifest an
117117

118118
- OpenSSL 3+ or 1.1 - depends on the default OpenSSL version for the distribution version, for example, OpenSSL 3 for [Ubuntu 22](https://packages.ubuntu.com/jammy/openssl) and OpenSSL 1.1 for [Ubuntu 20](https://packages.ubuntu.com/focal/utils/openssl).
119119

120-
- libnuma 1
120+
- libnuma1
121121

122122
### macOS
123123

124-
QUIC isn't currently supported on macOS but may be available in a future release.
124+
QUIC is now partially supported on macOS through a non-standard Homebrew package manager with some limitations. You can install `libmsquic` on macOS using Homebrew with the following command:
125+
126+
```bash
127+
brew install libmsquic
128+
```
129+
130+
To run a .NET application that uses `libmsquic`, you need to set the environment variable before running it. This ensures the application can find the `libmsquic` library during runtime dynamic loading. You can do this by adding the following command before your main command:
131+
132+
```bash
133+
DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib dotnet run
134+
```
135+
136+
or
137+
138+
```bash
139+
DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib ./binaryname
140+
```
141+
142+
Alternatively, you can set the environment variable with:
143+
144+
```bash
145+
export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib
146+
```
147+
148+
and then run your main command:
149+
150+
```bash
151+
./binaryname
152+
```
125153

126154
## API overview
127155

0 commit comments

Comments
 (0)