[Haskell-beginners] Error when starting GHCI (Arie van Wingerden)

Howard B. Golden howard_b_golden
Wed Oct 9 23:04:59 UTC 2013


Arie,


The only difference I have with your output on my computer is a line after the "Using binary package database..." line:

??? Using binary package database: C:\Users\hgolden\AppData\Roaming\ghc\i386-mingw32-7.6.3\package.conf.d\package.cache


That package cache contains hs-dotnet-0.4.0.

I have no idea if this is why you are getting the error message at the end ("Loading package base ... ").

Did you get any error messages when you installed the Haskell Platform?

Howard


________________________________
 From: Arie van Wingerden <xapwing at gmail.com>
To: Howard B. Golden <howard_b_golden at yahoo.com>; The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners at haskell.org> 
Sent: Wednesday, October 9, 2013 11:41 AM
Subject: Re: [Haskell-beginners] Error when starting GHCI (Arie van Wingerden)
 


Hi,
following Howards guidance I tried to start GHCI with the -v option and get:

GHCi, version 7.6.3: http://www.haskell.org/ghc/ ?:? for help
Glasgow Haskell Compiler, Version 7.6.3, stage 2 booted by GHC version 7.4.1
Using binary package database: C:\Program Files\Haskell Platform\2013.2.0.0\lib\
package.conf.d\package.cache
wired-in package ghc-prim mapped to ghc-prim-0.3.0.0-9d603ae4e062e1401099a3daa89
31d0f
wired-in package integer-gmp mapped to integer-gmp-0.5.0.0-4093e6ff1e8ebdba04ec8
92df9ac108f
wired-in package base mapped to base-4.6.0.1-f0c2cc6dcf0e12bf75312a2e7f354095
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.8.0.0-42f1e6e5551
1ef4dff7e4249580faf8f
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
*** gcc:
"C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe" "-fno-st
ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-LC:\Progra
m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name" "wsock
32.dll"
*** gcc:
"C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe" "-fno-st
ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-LC:\Progra
m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name" "user3
2.dll"
*** gcc:
"C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe" "-fno-st
ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-LC:\Progra
m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name" "shell
32.dll"
Loading package base ... ghc.exe: : Kan opgegeven module niet vinden.
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
<command line>: can't load .so/.DLL for: ?(addDLL: could not load DLL)

Any ideas why this happens?
TIA,
? ?Arie



2013/10/8 Howard B. Golden <howard_b_golden at yahoo.com>

Hi Arie,
>
>My guess is that you don't have a necessary library in your path. Here are the Haskell libraries I have in my path (change as necessary for your setup):
>
>C:\Program Files\Haskell Platform\2013.2.0.0\lib\extralibs\bin
>C:\Program Files\Haskell Platform\2013.2.0.0\bin
>C:\Program Files\Haskell Platform\2013.2.0.0\mingw\bin
>
>HTH,
>
>Howard
>
>-------------------------
>Message: 2
>
>Date: Tue, 8 Oct 2013 18:12:41 +0200
>From: Arie van Wingerden <xapwing at gmail.com>
>To: beginners at haskell.org
>Subject: [Haskell-beginners] Error when starting GHCI
>Message-ID:
>??? <CADkALSHpG7s89tT7rXJw56q7hkDyEcwv1=xu5Tg3_qLqoqtDxg at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi,
>
>today I downloaded the Haskell platform for 32 bits Windows
>(HaskellPlatform-2013.2.0.0-setup.exe) and installed it.
>
>The first time I started GHCI all worked perfectly.
>
>When I closed GHCI and later tried to start it again I constantly get
>however:
>C:\Users\Arie>ghci
>GHCi, version 7.6.3: http://www.haskell.org/ghc/??:? for help
>Loading package ghc-prim ... linking ... done.
>Loading package integer-gmp ... linking ... done.
>Loading package base ... ghc.exe: : Kan opgegeven module niet vinden.
><command line>: can't load .so/.DLL for:? (addDLL: could not load DLL)
>WHERE Kan opgegeven module niet vinden MEANS Can't find the specified module
>
>Any ideas?
>
>Kind regards,
>???Arie
>_______________________________________________
>Beginners mailing list
>Beginners at haskell.org
>http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20131009/d624c74f/attachment-0001.html>



More information about the Beginners mailing list