当我尝试为我的项目安装 gosamplerate 时,我偶然发现了一个问题。我在存储库https://github.com/dh1tw/gosamplerate上遵循安装手册,但在成功安装 libsamplerate0 后,我在尝试执行 go get github.com/dh1tw/gosamplerate 时收到错误响应:
# pkg-config --cflags -- samplerate
Package samplerate was not found in the pkg-config search path.
Perhaps you should add the directory containing `samplerate.pc'
to the PKG_CONFIG_PATH environment variable
No package 'samplerate' found
pkg-config: exit status 1
谁能帮我解决这个问题?