[GHC] #14183: ghc.exe: addLibrarySearchPath error

GHC ghc-devs at haskell.org
Sat Sep 2 23:04:37 UTC 2017


#14183: ghc.exe: addLibrarySearchPath error
---------------------------------+----------------------------------------
        Reporter:  vagarenko     |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.2.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------
Description changed by vagarenko:

Old description:

> Recently I've removed Haskell Platform 8.0.1 and installed new Platform
> 8.2.1
>
> Since then, when compiling a module GHC sometimes spits the following
> messages:
> {{{
> ghc.exe: addLibrarySearchPath: C:\Program Files\Haskell
> Platform\8.0.1\mingw\lib (Win32 error 3): The system cannot find the path
> specified.
> }}}
> dozens of times in a row.
> But the compilation succeeds.
> The directory `C:\Program Files\Haskell Platform\8.0.1\` doesn't exist on
> my machine.
>
> I haven't figured out when exactly this happens but it seems to happen
> only when the module has Template Haskell splices in it.

New description:

 My OS is Windows 7.
 Recently I've removed Haskell Platform 8.0.1 and installed new Platform
 8.2.1

 Since then, when compiling a module GHC sometimes spits the following
 messages:
 {{{
 ghc.exe: addLibrarySearchPath: C:\Program Files\Haskell
 Platform\8.0.1\mingw\lib (Win32 error 3): The system cannot find the path
 specified.
 }}}
 dozens of times in a row.
 But the compilation succeeds.
 The directory `C:\Program Files\Haskell Platform\8.0.1\` doesn't exist on
 my machine.

 I haven't figured out when exactly this happens but it seems to happen
 only when the module has Template Haskell splices in it.

--

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


More information about the ghc-tickets mailing list