error

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

dhj@hudson Desktop (project) % cabal install yesod
Resolving dependencies...
Configuring yesod-0.5.4...
Preprocessing library yesod-0.5.4...
Preprocessing executables for yesod-0.5.4...
Building yesod-0.5.4...
[ 1 of 24] Compiling Yesod.Mail       ( Yesod/Mail.hs, dist/build/Yesod/Mail.o )
[ 2 of 24] Compiling Yesod.WebRoutes  ( Yesod/WebRoutes.hs, dist/build/Yesod/WebRoutes.o )
[ 3 of 24] Compiling Yesod.Internal   ( Yesod/Internal.hs, dist/build/Yesod/Internal.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.3.0.0 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package syb-0.1.0.2 ... linking ... done.
Loading package base-3.0.3.2 ... linking ... done.
Loading package parsec-2.1.0.1 ... linking ... done.
Loading package network-2.2.1.7 ... linking ... done.
Loading package bytestring-0.9.1.5 ... linking ... done.
Loading package mtl-1.1.0.2 ... linking ... done.
Loading package tagsoup-0.11.1 ... linking ... done.
Loading package utf8-string-0.3.6 ... linking ... done.
Loading package xss-sanitize-0.2.1 ... linking ... done.
Loading package web-routes-0.23.0 ... linking ... done.
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.3 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package directory-1.0.1.0 ... linking ... done.
Loading package sendfile-0.7.2 ... linking ... done.
Loading package time-1.1.4 ... linking ... done.
Loading package wai-0.2.1 ... linking ... done.
Loading package wai-extra-0.2.2.2 ... linking ... done.
Loading package extensible-exceptions-0.1.1.1 ... linking ... done.
Loading package transformers-0.2.1.0 ... linking ... done.
Loading package MonadCatchIO-transformers-0.2.2.0 ... linking ... done.
Loading package deepseq-1.1.0.0 ... linking ... done.
Loading package text-0.7.2.1 ... linking ... done.
Loading package enumerator-0.4.1 ... linking ... done.
Loading package blaze-builder-0.1 ... linking ... done.
Loading package failure-0.1.0 ... linking ... done.
Loading package MonadCatchIO-mtl-0.3.0.1 ... linking ... done.
Loading package neither-0.0.2 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package hamlet-0.5.1 ... linking ... done.
Loading package stm-2.1.1.2 ... linking ... done.
Loading package web-routes-quasi-0.6.0 ... linking ... done.
Loading package persistent-0.2.4 ... linking ... done.
Loading package ranges-0.2.2 ... linking ... done.
Loading package email-validate-0.2.5 ... linking ... done.
Loading package dataenc-0.13.0.3 ... linking ... done.
Loading package attempt-0.3.0 ... linking ... done.
Loading package control-monad-attempt-0.3.0 ... linking ... done.
Loading package random-1.0.0.2 ... linking ... done.
Loading package clientsession-0.4.0.2 ... linking ... done.
Loading package data-object-0.3.1.3 ... linking ... done.
Loading package attoparsec-0.8.0.2 ... linking ... done.
Loading package bytestring-nums-0.3.2 ... linking ... done.
Loading package binary-0.5.0.2 ... linking ... done.
Loading package bytestring-trie-0.2.2 ... linking ... done.
Loading package JSONb-1.0.2 ... linking ... done.
Loading package convertible-text-0.3.0.3 ... linking ... done.
Loading package data-object-json-0.3.1.2 ... linking ... done.
Loading package attoparsec-enumerator-0.2 ... linking ... done.
Loading package network-bytestring-0.1.3 ... linking ... done.
Loading package cereal-0.2 ... linking ... done.
Loading package monads-tf-0.1.0.0 ... linking ... done.
Loading package AES-0.2.7 ... linking ... done.
Loading package SHA-1.4.1.3 ... linking ... done.
Loading package pureMD5-1.1.0.0 ... linking ... done.
Loading package RSA-1.0.6 ... linking ... done.
Loading package asn1-data-0.2 ... linking ... done.
Loading package base64-bytestring-0.1.0.1 ... linking ... done.
Loading package certificate-0.3 ... linking ... done.
Loading package process-1.0.1.2 ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package Cabal-1.8.0.2 ... linking ... done.
Loading package ghc-binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hpc-0.5.0.4 ... linking ... done.
Loading package ghc-6.12.1 ... linking ... done.
Loading package primitive-0.3 ... linking ... done.
Loading package vector-0.6.0.2 ... linking ... done.
Loading package cryptocipher-0.1 ... linking ... done.
Loading package cryptohash-0.5.3 ... linking ... done.
Loading package spoon-0.3 ... linking ... done.
Loading package tls-0.2 ... linking ... done.
Loading package zlib-0.5.2.0 ... linking ... done.


GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   _call_deflate_finish
whilst processing object file
   /Users/dhj/.cabal/lib/zlib-bindings-0.0.0/ghc-6.12.1/HSzlib-bindings-0.0.0.o
This could be caused by:
   * Loading two different object files which export the same symbol
   * Specifying the same object file twice on the GHCi command line
   * An incorrect `package.conf' entry, causing some object to be
     loaded twice.
GHCi cannot safely continue in this situation.  Exiting now.  Sorry.

cabal: Error: some packages failed to install:
yesod-0.5.4 failed during the building phase. The exception was:
ExitFailure 1
dhj@hudson Desktop (project) %