[haskell-platform] #137: Linking error when using Text.Regex.Posix

Radek Pyšný xpysny00 at stud.fit.vutbr.cz
Wed Nov 3 21:38:33 EDT 2010


I've got the same problem as you. There were actualy something wrong 
with regex-posix-0.94.2... So I installed newer version of this packeg 
by cabal

 > cabal install regex-posix

And then I've found (thanks to ghc-pkg check and gch-pkg find-module 
regex-posix) that there is still old regex-posix-0.94.2...conf somewhere 
in my Application Data dir (under my Windows profile). So I tried to 
replace it with newer conf file and than everything goes wrong. I even 
couldn't start ghci.

I have to gave this file back. I now have two independent conf files for 
regex-posix package. Something like:
...\Application 
Data\ghci\i386-mingw32-6.12.3\package.conf.d\regex-posix-0.94.2...conf
...\Application 
Data\ghci\i386-mingw32-6.12.3\package.conf.d\regex-posix-0.94.4...conf

And now everything works fine. You might try this. Don't exactly know 
where the problem is, but it doesn't even matter now.

Have a nice day,

Radek




More information about the Haskell-platform mailing list