Re: Link errors

2009-03-15 Thread Brandon S. Allbery KF8NH
On 2009 Mar 15, at 11:59, Lingappan, Loganathan wrote: FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_' collect2: ld returned 1 exit status Either use ghc --make or ghc -package regex-posix. The former is preferred. --

RE: Link errors

2009-03-15 Thread Lingappan, Loganathan
Great! This works! Thanks a lot, Logo From: Brandon S. Allbery KF8NH [mailto:allb...@ece.cmu.edu] Sent: Sunday, March 15, 2009 6:13 PM To: Lingappan, Loganathan Cc: Brandon S. Allbery KF8NH; glasgow-haskell-users@haskell.org Subject: Re: Link errors On 2009 Mar

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
(I noticed my reply to Mathew Mills didn't reach the GHC list, so here it is.) On Wednesday 11 October 2006 21:53, Mathew Mills wrote: Interesting. I was unable to reproduce your problem. What platform are you running on? Are you using a binary distribution or one you built from source?

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
On Monday 16 October 2006 12:41, Duncan Coutts wrote: This is a problem with the way we have packaged it for Gentoo. We know the source of the problem and will fix it soon. Great, thanks. On Monday 16 October 2006 12:46, Clemens Fruhwirth wrote: The problem is Gentoo specific. Quick dirty

Re: Link errors when using the GHC API

2006-10-16 Thread Duncan Coutts
On Mon, 2006-10-16 at 17:42 +0200, Bas van Dijk wrote: On Monday 16 October 2006 12:41, Duncan Coutts wrote: This is a problem with the way we have packaged it for Gentoo. We know the source of the problem and will fix it soon. Great, thanks. On Monday 16 October 2006 12:46, Clemens

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
Yeah. That'd have a different quick fix: cp /usr/lib/ghc-6.6/libHSCabal.a /usr/lib/Cabal-1.1.6/ghc-6.6/ because ghci uses the .o files and ghc uses the .a ones. Thanks it works! Now I can finally start playing with the GHC API. Bas ___

Re: Link errors when using the GHC API

2006-10-13 Thread Simon Marlow
Simon Marlow wrote: Christian Maeder wrote: The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file:

Re: Link errors when using the GHC API

2006-10-12 Thread Christian Maeder
The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file: No such file or directory) C. Bas van Dijk

Re: Link errors when using the GHC API

2006-10-12 Thread Christian Maeder
Christian Maeder schrieb: The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file: No such

Re: Link errors when using the GHC API

2006-10-12 Thread Simon Marlow
Christian Maeder wrote: The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file: No such file or

Re: Link errors when using the GHC API

2006-10-11 Thread Mathew Mills
Interesting. I was unable to reproduce your problem. What platform are you running on? Are you using a binary distribution or one you built from source? Seems like something didn't build right... You might use 'nm' to examine your libHSCabal.a to see if a similarly named symbol is