brew install freetds --with-unixodbc 失败

brew install freetds --with-unixodbc fails

有没有人在运行 brew install freetds --with-unixodbc时看到这种情况发生在他们身上?

$ brew install freetds --with-unixodbc
==> Using the sandbox
==> Downloading ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.26.tar.bz2

curl: (56) response reading failed
Trying a mirror...
==> Downloading https://fossies.org/linux/privat/freetds-1.00.26.tar.bz2

curl: (22) The requested URL returned error: 410 Gone
Error: Failed to download resource "freetds"
Download failed: https://fossies.org/linux/privat/freetds-1.00.26.tar.bz2

如果对此有任何帮助或指点,那就太好了。谢谢!

通过在自制程序 github 页面上 post 问题找到了这个问题的答案。这是 ilovezfs 的回答:

you can try this link https://distfiles.macports.org/freetds/freetds-1.00.26.tar.bz2 and place the file in ~/Library/Caches/Homebrew.

所以通过这个我了解到 brew 链接不起作用的解决方法(我的不起作用 bc 因为我在我的计算机上安装了防火墙),您还可以下载源文件,将其放入 Homebrew目录,以及 运行:

brew install <library name>

只是想 post 这个答案,以防它对遇到类似问题的人有用。