cmd/go, runtime/cgo: go module didn't download cgo soft links of dynamic library #32050
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am trying to switch my golang project from gopath to gomodule. One of the package my project imported is using cgo to call ffmpeg, the package have several dynamic ffmpeg libraries, for example:libavcodec.so ,libavcodec.so.57 ,libavcodec.so.57.107.100 , the fisrt two file is soft link file The problem is when i go build my golang project, go module only download libavcodec.so.57.107.100, it didn't download the other two soft link file
What did you expect to see?
I expect go module download all c dynamic libraries files including soft link files
What did you see instead?
i didn't get the soft link files
ps:1. When i use go get to get the package, i got all the dynamic libraries successfully, including all the soft link files
ps:2. Here is all the dynamic libraries i want and i get.
ls ~/go/src/plugins/ffmpeg
Outputls ~/go/pkg/mod/gitlab.com/plugins/ffmpeg
OutputThe text was updated successfully, but these errors were encountered: