Re: [GHC] #8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’

GHC ghc-devs at haskell.org
Sat Jan 18 08:47:15 UTC 2014


#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-
gmp’
-------------------------------------+----------------------------------
        Reporter:  erikd             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  highest           |        Milestone:  7.8.1
       Component:  Template Haskell  |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+----------------------------------
Changes (by hvr):

 * cc: thoughtpolice (added)
 * failure:  Other => None/Unknown
 * priority:  normal => highest
 * component:  libraries (other) => Template Haskell
 * milestone:   => 7.8.1


Comment:

 Here's the core of the problem, TH wants to use the profiling version of
 the libraries, when `-prof` is in effect:

 {{{
 $ echo 'main = return ()' > t8677.hs

 $ ghc --make -prof t8677.hs
 [1 of 1] Compiling Main             ( t8677.hs, t8677.o )
 Linking t8677 ...

 $ ghc -XTemplateHaskell --make -prof t8677.hs
 [1 of 1] Compiling Main             ( t8677.hs, t8677.o ) [flags changed]

 Top level:
     Failed to load interface for ‛GHC.Integer.Type’
     Perhaps you haven't installed the "p_dyn" libraries for package
 ‛integer-gmp’?
     Use -v to see a list of the files searched for.

 $ ghc -XTemplateHaskell --make  t8677.hs
 [1 of 1] Compiling Main             ( t8677.hs, t8677.o )
 Linking t8677 ...
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8677#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list