Cabal and zlib on OS X
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 Cab开发者_如何学JAVAal packages at the moment, so I'd appreciate any help.
Thanks!
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?
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.
精彩评论