[Haskell-cafe] RFI: Link errors with random pkg on 6.8.1

Jim Stuttard jim.stuttard at talktalk.net
Tue Dec 4 15:37:12 EST 2007


Hi,
Getting same error in 2 diff. apps
* built with ghc-6.8.1.
* random-1.0.0.0 also built with 6.8.1
* random-1.0.0.0 is registered

# HAppS
-6.8.1/lib/random-1.0.0.0/HSrandom-1.0.0.0.o: unknown symbol 
`oldzmtimezm1zi0zi0zi0_SystemziTime_a99_info'
ghc-6.8.1: unable to load package `random-1.0.0.0'
# Haskell$ ghci DonsGame-0.1.hs
GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
[1 of 1] Compiling Game             ( DonsGame-0.1.hs, interpreted )
Ok, modules loaded: Game.
*Game> main
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package filepath-1.1.0.0 ... linking ... done.
Loading package directory-1.0.0.0 ... linking ... done.
Loading package unix-2.2.0.0 ... linking ... done.
Loading package process-1.0.0.0 ... linking ... done.
Loading package random-1.0.0.0 ... linking ... <interactive>: 
/usr/local/lib/ghc-6.8.1/lib/random-1.0.0.0/HSrandom-1.0.0.0.o: unknown 
symbol `oldzmtimezm1zi0zi0zi0_SystemziTime_a99_info'
ghc-6.8.1: unable to load package `random-1.0.0.0'

# ubuntu gutsy  2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 
i686 GNU/Linux


Jim

I


More information about the Haskell-Cafe mailing list