[Haskell-cafe] cabal probems with binary/containers packages
Duncan Coutts
duncan.coutts at googlemail.com
Wed Oct 28 07:00:40 EDT 2009
On Tue, 2009-10-27 at 21:37 -0700, brian wrote:
> It all started with this:
>
> Loading package binary-0.5.0.1 ... can't load .so/.DLL for:
> HSbinary-0.5.0.1 (dlopen(libHSbinary-0.5.0.1.dylib, 9): image not found)
>
> so I tried
>
> > cabal upgrade binary
Don't do that. Just use cabal install binary.
Upgrade means install the named package and also try to install the
latest version of all of its dependencies. That's generally not a good
idea. It's choosing to upgrade your containers package and you probably
do not want to do that.
We're thinking about how to changing the behaviour of upgrade so that
you can upgrade the dependencies you want without also upgrading the
ones that you really wanted to be kept the same (like the core or
perhaps even the platform libs).
> Building containers-0.2.0.1...
>
> Data/IntMap.hs:182:7:
> Could not find module `Data.Data':
> it is a member of package base, which is hidden
This is because the containers packages doesn't say that it needs base
version 4. In fact it doesn't say what version it needs at all.
Duncan
More information about the Haskell-Cafe
mailing list