
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. Thanks!

Bill Atkins
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
I'm going to randomly guess that the version of the C zlib library that Cabal was indirectly built against is different to the one on your machine. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Did you manage to fix this problem, or are there any updates on it? I am now having the same issue - presumably due to updating my Mac OS X version, because cabal was working fine before that. I can't upgrade cabal or install anything either, same reason. Gordon J. Uszkay uszkaygj@mcmaster.ca On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:
Bill Atkins
writes: 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
I'm going to randomly guess that the version of the C zlib library that Cabal was indirectly built against is different to the one on your machine.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

I am also experiencing this problem.
I read that the problem was fixed in the latest Cabal-install version.
But I'm not sure, as I tried to install the latest Cabal-install and
got 50 linker errors which I'm not prepared to tackle until the
weekend.
On 8 June 2010 18:21, Gordon J. Uszkay
Did you manage to fix this problem, or are there any updates on it? I am now having the same issue - presumably due to updating my Mac OS X version, because cabal was working fine before that. I can't upgrade cabal or install anything either, same reason.
Gordon J. Uszkay uszkaygj@mcmaster.ca
On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:
Bill Atkins
writes: 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
I'm going to randomly guess that the version of the C zlib library that Cabal was indirectly built against is different to the one on your machine.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Hi,
For me it turned out to be some problem with MacPorts, removing
MacPorts (with all its installed ports) solved the problem regarding
ZLib. I assume that a less drastic measure would also work (only
remove selected ports or remove the ports from your path).
Regards,
Jeroen
2010/6/9 Christopher Done
I am also experiencing this problem.
I read that the problem was fixed in the latest Cabal-install version. But I'm not sure, as I tried to install the latest Cabal-install and got 50 linker errors which I'm not prepared to tackle until the weekend.
On 8 June 2010 18:21, Gordon J. Uszkay
wrote: Did you manage to fix this problem, or are there any updates on it? I am now having the same issue - presumably due to updating my Mac OS X version, because cabal was working fine before that. I can't upgrade cabal or install anything either, same reason.
Gordon J. Uszkay uszkaygj@mcmaster.ca
On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:
Bill Atkins
writes: 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
I'm going to randomly guess that the version of the C zlib library that Cabal was indirectly built against is different to the one on your machine.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Jeroen Weijers
Hi,
For me it turned out to be some problem with MacPorts, removing MacPorts (with all its installed ports) solved the problem regarding ZLib. I assume that a less drastic measure would also work (only remove selected ports or remove the ports from your path).
This specific error happens when you try to link with a 64-bit library
from 32-bit GHC. So the odds are good either your flags aren't set right
in /usr/bin/ghc and friends (which was an issue on 6.10), or you're
linking to a non-universal copy of zlib (like the one macports will
build).
G
--
Gregory Collins

On 10 June 2010 01:08, Gregory Collins
Jeroen Weijers
writes: Hi,
For me it turned out to be some problem with MacPorts, removing MacPorts (with all its installed ports) solved the problem regarding ZLib. I assume that a less drastic measure would also work (only remove selected ports or remove the ports from your path).
This specific error happens when you try to link with a 64-bit library from 32-bit GHC. So the odds are good either your flags aren't set right in /usr/bin/ghc and friends (which was an issue on 6.10), or you're linking to a non-universal copy of zlib (like the one macports will build).
I was having this problem too, so I searched through my mail and found this thread. I upgraded to the latest Haskell Platform 2010.2.0.0, but the problem persisted. I noticed that macports has a universal variant of zlib, so I installed that: sudo port install zlib +universal Then I rebuild cabal, and now it works properly. Cheers, Bernie.

I have a different problem (also after doing a cabal update): I get a bus error. I just created this ticket for it: http://hackage.haskell.org/trac/hackage/ticket/691 -chris On 22 mei 2010, at 13:20, Bill Atkins wrote:
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.
Thanks! _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (8)
-
Bernie Pope
-
Bill Atkins
-
Chris Eidhof
-
Christopher Done
-
Gordon J. Uszkay
-
Gregory Collins
-
Ivan Lazar Miljenovic
-
Jeroen Weijers