[Haskell-cafe] Problem with directory-1.0.0.0
Bartosz Wójcik
bartek at sudety.it
Thu Nov 13 16:08:19 EST 2008
Hi Folks,
I'm facing problem after I've reinstalled directory-1.0.0.0 (setup
configure/build/install). Since then I cannot complie anything that needs
this library. It fails with following messages:
Preprocessing library haddock-2.4.0...
Preprocessing executables for haddock-2.4.0...
Building haddock-2.4.0...
/usr/bin/ar: creating dist/build/libHShaddock-2.4.0.a
Linking dist/build/haddock/haddock ...
/usr/local/lib/ghc-6.8.2/libHSghc.a(Coverage.o): In function `scXR_info':
(.text+0x17b7c): undefined reference to
`directoryzm1zi0zi0zi0_SystemziDirectory_lvl29_closure'
/usr/local/lib/ghc-6.8.2/libHSghc.a(Coverage.o): In function `s8xU_info':
(.text+0x1792c): undefined reference to
`directoryzm1zi0zi0zi0_SystemziDirectory_a43_info'
/usr/local/lib/ghc-6.8.2/libHSghc.a(Coverage.o): In function `r7aC_closure':
(.data+0xd18): undefined reference to
`directoryzm1zi0zi0zi0_SystemziDirectory_a43_closure'
collect2: ld returned 1 exit status
Situation is following:
Old directory-1.0.0.0 resides
in /usr/local/lib/ghc-6.8.2/lib/directory-1.0.0.0.
New one in /usr/local/lib/directory-1.0.0.0.
Why new one doesn't work?
How to force linker to use old one?
Best,
Bartek
More information about the Haskell-Cafe
mailing list