Skip to content

Commit d6435da

Browse files
Merge pull request #245570 from jpalvarezl/jpalvarezl/go_setup_correction
Added comment for Go Speech SDK setup to clarify steps
2 parents ec99f86 + fd67b3e commit d6435da

File tree

1 file changed

+9
-3
lines changed
  • articles/ai-services/speech-service/includes/quickstarts/platform

1 file changed

+9
-3
lines changed

articles/ai-services/speech-service/includes/quickstarts/platform/go-linux.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: eur
88

99
## Platform requirements
1010

11-
The Speech SDK for Go only supports **Ubuntu 18.04/20.04/22.04**, **Debian 10/11**, **Red Hat Enterprise Linux (RHEL) 8**, and **CentOS 8** on the x64 architecture when used with Linux.
11+
The Speech SDK for Go only supports **Ubuntu 18.04/20.04/22.04**, **Debian 9/10/11**, **Red Hat Enterprise Linux (RHEL) 8**, and **CentOS 8** on the x64 architecture when used with Linux.
1212

1313
[!INCLUDE [Linux distributions](linux-distributions.md)]
1414

@@ -22,14 +22,20 @@ You must install the [Go binary version 1.13 or later](https://go.dev/dl/).
2222

2323
The following steps enable your Go environment to find the Speech SDK. In both steps, replace `<architecture>` with the processor architecture of your CPU. This will be `x86`, `x64`, `arm32`, or `arm64`.
2424

25-
1. Because the bindings rely on `cgo`, you need to set the environment variables so Go can find the SDK.
25+
1. Because the bindings rely on `cgo`, you need to set the environment variables so Go can find the SDK.
26+
27+
> [!IMPORTANT]
28+
> Replace `<architecture>` in the code snippet below with what corresponds to your setup with either "x86", "x64", "arm32" or "arm64"
2629
2730
```sh
2831
export CGO_CFLAGS="-I$SPEECHSDK_ROOT/include/c_api"
2932
export CGO_LDFLAGS="-L$SPEECHSDK_ROOT/lib/<architecture> -lMicrosoft.CognitiveServices.Speech.core"
3033
```
3134

32-
1. To run applications and the SDK, you need to tell the operating system where to find the libraries.
35+
2. To run applications and the SDK, you need to tell the operating system where to find the libraries.
36+
37+
> [!IMPORTANT]
38+
> Replace `<architecture>` in the code snippet below with what corresponds to your setup with either "x86", "x64", "arm32" or "arm64"
3339
3440
```sh
3541
export LD_LIBRARY_PATH="$SPEECHSDK_ROOT/lib/<architecture>:$LD_LIBRARY_PATH"

0 commit comments

Comments
 (0)