Johnny Yeo
Johnny Yeo

Reputation: 123

brew install freetds --with-unixodbc fails

Has anyone seen this happen to them when running 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

Any help or pointers for this would be great. thanks!

Upvotes: 1

Views: 4524

Answers (1)

Johnny Yeo
Johnny Yeo

Reputation: 123

Found an answer to this question by posting an issue on the homebrew github page. Here's ilovezfs's answer:

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

So through this I learned that a workaround to brew links not working (mine didn't work bc of a firewall I have in place on my computer), you can also download the source files, drop it into the Homebrew directory, and run:

brew install <library name>

Just wanted to post this answer in case it is useful to someone out there with a similar issue.

Upvotes: 3

Related Questions