[Haskell-cafe] Problems linking hsql-mysql
maciej.podgurski at googlemail.com
Wed Feb 24 10:30:16 EST 2010
no, it's absolutely not urgent. I'm just in early stage with building a
Happstack webpage and testing via GHCi works fine.
The problem occurs on a Windows XP machine with hsql-1.7.1,
hsql-mysql-1.7.1, GHC-6.10.4 and MySQL Server 5.1. Last year I posted an
instruction on how I got hsql-mysql running (see
changes for the new GHC version where exactly the same. To replicate the
error, just do an import Database.HSQL.MySQL and build the file via ghc
As far as I remember this worked with GHC-6.8.3, but I'm not quite sure.
Let me know if you need additional informationen.
Thanks for help,
Am 24.02.2010 01:07 schrieb Nick Rudnick:
> Hi Maciej,
> I will try to reproduce the error -- could you send me your both
> *.cabal files (for hsql & hsql-mysql), if you have changed anything,
> and your system configuration.
> Is this extremely urgent? I ask this, as these days exactly the end
> phase of the projects of about 100 beginner Haskell students, which I
> am the one to look after. So I am in a little of slow motion regarding
> other things... ;-)
> But in case you are in emergency, please let me know... At first
> sight, I would say it looks like a configuration problem... ;-)
> Maciej Podgurski wrote:
>> I have problems linking a simple test program that imports
>> Database.HSQL.MySQL via ghc --make Test.hs. The error only occurs
>> when importing this module of hsql-mysql-1.7.1. I pasted the building
>> output here: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=22911
>> (actually it was even longer but hpaste only takes 30k).
>> When I do ghc -e main Test.hs or starting it from GHCi, everything
>> works fine and no errors occur. So I guess all needed .lib files are
>> there but GHC can't find them when linking (adding the flag -L"path
>> to mysql/lib/opt" doesn't help). Anyone an idea?
>> Best wishes,
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe