Cabal and zlib on OS X
Pergunta
When I run "cabal update" on my Mac (Snow Leopard, Intel), I get:
% cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version
Anyone else seeing this? Reinstalling the Haskell Platform hasn't helped. I'm unable to install or update Cabal packages at the moment, so I'd appreciate any help.
Thanks!
Solução 3
So I fixed this by removing MacPorts completely from my machine, re-installing zlib with it, and then clearing out my ~/.cabal.
After that I stopped getting these messages.
Thanks, all.
Outras dicas
Incompatible zlib version
I think this means the C zlib library you have installed is out of date. Can you update it?
What I've done is install zlib from MacPorts with the +universal flag and that works without problems. Does this help you?