testing ghc-7.8 rc2: linker issues

Carter Schonwald carter.schonwald at gmail.com
Fri Mar 14 12:35:21 UTC 2014


Make sure you are building the dynamic / shared lib versions and using
cabal install 1.18

On Friday, March 14, 2014, Matthias Fischmann <mf at zerobuzz.net> wrote:

>
> hi,
>
> this time i am running 7.8 rc2 (binary for x64 on debian testing).
> after a successful '/usr/bin/cabal install cabal-install', i am
> running into different instances of this:
>
> | [...]
> | [25 of 25] Compiling Text.ParserCombinators.Parsec.Perm (
> Text/ParserCombinators/Parsec/Perm.hs,
> dist/build/Text/ParserCombinators/Parsec/Perm.o )
> | /usr/bin/ld: cannot find -lHSmtl-2.1.2-ghc7.8.0.20140228
> | collect2: error: ld returned 1 exit status
> | Failed to install parsec-3.1.5
> | cabal: Error: some packages failed to install:
> | network-2.4.2.2 depends on parsec-3.1.5 which failed to install.
> | parsec-3.1.5 failed during the building phase. The exception was:
> | ExitFailure 1
>
> what makes me suspect this could be relevant to this list is that the
> symptoms are weirdly sporadic.  my story:
>
> 1. cabal install string-conversions fails because -lHStext-1.1.0.1
>    cannot be found.
>
> 2. ghc-pkg unregister <a few packages>
>
> 3. cabal install network (which pulls text) => fails (see above)
>
> 4. cabal install string-conversions => works!
>
> i will read up on dynamic linking in ghc now.
>
>
> cheers,
> matthias
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org <javascript:;>
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140314/1983e66c/attachment.html>


More information about the ghc-devs mailing list