我有一个使用绑定到C库taglib的golang应用程序。当我尝试部署我的应用程序时,我得到(预期)错误,无法找到taglib头文件:
-----> Running: go get -tags heroku ./...
# github.com/wtolson/go-taglib
../github.com/wtolson/go-taglib/taglib.go:6:27: error: taglib/tag_c.h: No such file or directory
所以,我尝试使用apt-get安装taglib,但这不起作用。
~ $ apt-get install libtag1-dev
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
有人知道如何在Heroku上安装taglib吗?