
/ Can anyone tell me why ghci has this problem whereas ghc itself doesn't and />/ how I fix it. />/ />/ Thanks, Dominic. />/ />/ [dom at tility http://www.haskell.org/mailman/listinfo/libraries LAMH]$ ghci -package hsql-mysql />/ ___ ___ _ />/ / _ \ /\ /\/ __(_) />/ / /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98. />/ / /_\\/ __ / /___| | http://www.haskell.org/ghc/ />/ \____/\/ /_/\____/|_| Type :? for help. />/ />/ Loading package base-1.0 ... linking ... done. />/ Loading package hsql-1.6 ... linking ... done. />/ Loading package hsql-mysql-1.6 ... ghc-6.4: can't load .so/.DLL for: c />/ (/usr/lib/libc.so: invalid ELF header) />/ [...] / It looks like the package description of hsql-mysql explicitly mentions "-lc" for linking (or something like that). Simply removing that superfluous flag should fix the problem, but I'm only guessing here, as I've never used that
Am Sonntag, 4. September 2005 16:26 schrieb Dominic Steinitz: package.
Cheers, S.
Sven,
Thanks for the suggestion but it's not obvious to me what I'm looking
for. Here's the package description.
Dominic.
[dom@tility HSQL]$ ghc-pkg describe hsql-mysql
name: hsql-mysql
version: 1.6
license: BSD3
copyright:
maintainer:
stability:
homepage:
package-url:
description: MySQL driver for HSQL.
category: Database
author: Krasimir Angelov