apache / apache/pulsar-client-go

Windows user can't build this lib

Open
#573 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

#### Expected behavior

build success

#### Actual behavior

build failed, report
```
# github.com/DataDog/zstd
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
```

because the zstd lib that pulsar-client-go used is a cgo lib

#### Steps to reproduce

build this codes

```go
package main

import (
"fmt"

"github.com/apache/pulsar-client-go/pulsar"
)

func main() {
fmt.Println(pulsar.AUTO)
}
```

#### System configuration
**Pulsar go client version**: v0.6.0
**GO**: 1.16.6

It seems this [lib](https://github.com/klauspost/compress/tree/master/zstd#zstd) doesn't use the cgo, so Windows user can use pulsar-client-go too

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.