Ticket #632 (closed defect: invalid)

Opened 3 years ago

Last modified 17 months ago

After updating cabal-install Zlib incompatible version

Reported by: captainCrash Owned by:
Priority: high Milestone:
Component: cabal-install tool Version: 1.6.0.1
Severity: major Keywords:
Cc: Difficulty: unknown
GHC Version: Platform: Mac OS

Description

When I ran cabal update it suggested that I had to update cabal-install. Which I did. Then running cabal update again gave the error:

cabal update

Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version

Any other action requiring ZLib also fails. I downloaded a new version of cabal itself, untarred it, and cabal installed it. The problem still exists. I run ZLib version 0.5.2.0. I have GHC version 6.10.3. And run this all on Mac OS X 10.6.3

Change History

Changed 3 years ago by guest

This is related to the fact that GCC on OS X Snow Leopard is 64-bit, while GHC generates 32-bit code. Instructions for working around are on the Haskell Wiki:  http://www.haskell.org/haskellwiki/Mac_OS_X#Mac_OS_X_10.6_.28Snow_Leopard.29

Fix hsc2hs following the wiki, then reinstall zlib and cabal-install from tarballs and cabal should work again.

Changed 3 years ago by duncan

  • status changed from new to closed
  • resolution set to invalid

Solution is to fix ghc as above.

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.