[web-devel] GHCi runtime linker: fatal error: I found a duplicate definition for symbol (Yesod)
Rick Richardson
rick.richardson at gmail.com
Wed Mar 23 19:22:08 CET 2011
I removed all but network-2.2.1.0 and rebuilt everything, still no luck. But
I'm sure you have set me on the right track, I will experiment with other
permutations.
Thanks.
On Wed, Mar 23, 2011 at 1:27 PM, Anton Cheshkov <acheshkov at gmail.com> wrote:
> Hi Rick! I got the the same error day ago on my server. Probably it happens
> because you have two *network* packages in you system.
>
> Try to compile all your packages only on network-2.2.1.10, and delete
> package network-2.3
>
> Hope it helps you
>
> 2011/3/23 Rick Richardson <rick.richardson at gmail.com>
>
>>
>> I just installed the generic 7.0.2 binary on Ubuntu on both 32 bit and 64
>> bit machines. Then I rm'd .ghc and .cabal then fetched the current
>> haskell platform. Built and installed.
>>
>> After cabal installing all of the dependencies cabal said were required
>> for yesod, I run yesod.. the script creates the project.
>>
>> When executing runhaskell devel-server.hs I get this message
>>
>> GHCi runtime linker: fatal error: I found a duplicate definition for
>> symbol
>> ghczm7zi0zi2_AsmCodeGen_zdfMonadCmmOptM2_closure
>> whilst processing object file
>> /usr/local/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a
>> 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.
>>
>>
>> it's the same on both 32 and 64 bit.
>>
>> Any ideas? I am going to try to build 7.0.2 from source to see if that
>> fixes it.
>>
>> _______________________________________________
>> web-devel mailing list
>> web-devel at haskell.org
>> http://www.haskell.org/mailman/listinfo/web-devel
>>
>>
>
>
> --
> Best regards,
> Cheshkov Anton
> Phone: +7 909 005 18 82
> Skype: cheshkov_anton
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110323/5ca2377f/attachment.htm>
More information about the web-devel
mailing list