ipsn / go-libtor

Self-contained Tor from Go
BSD 3-Clause "New" or "Revised" License
544 stars 46 forks source link

The filename or extension is too long. #28

Closed tgbv closed 3 years ago

tgbv commented 3 years ago

I'm receiving the following error amid including go-libtor in my project:

go build github.com/ipsn/go-libtor/libtor: C:\Program Files\Go\pkg\tool\windows_amd64\cgo.exe: fork/exec C:\Program Files\Go\pkg\tool\windows_amd64\cgo.exe: The filename or extension is too long.

How should I fix it?

tgbv commented 3 years ago

Related to https://github.com/golang/go/issues/18468

Switched to ubuntu and error is gone.

nochiel commented 2 years ago

Reported upstream. https://github.com/golang/go/issues/47235