[Haskell-cafe] Access to Oracle database from Haskell
lemming at henning-thielemann.de
Fri Jun 27 14:35:57 EDT 2008
On Fri, 27 Jun 2008, Alistair Bayley wrote:
> 2008/6/26 Henning Thielemann <lemming at henning-thielemann.de>:
>>> Do you need to say -lclntsh when you use ghc to compile?
>> Ah, I see, I must run both GHCi and GHC with -package Takusen and everything
>> is fine.
> This still doesn't seem right. Both ghci and ghc --make should
> automatically link the package. The only time you should need to use
> -package is in ghc "batch" mode i.e. ghc sans --make.
I actually called GHC without --make because the example program consists
of only one (the main) module.
> Yes... I've had a quick look at the instant client packages. The SDK
> zip just puts the headers under instantclient_10_2/sdk/include (which
> is still not $ORACLE_HOME/rdbms/public, but c'est la vie). So it looks
> like the .rpm puts them somewhere completely different:
> /usr/include/oracle/10.2.0.4/client. Do you also have
> $ORACLE_HOME/sdk/include, with headers in?
No, in ORACLE_HOME there is only 'bin' and 'lib'.
More information about the Haskell-Cafe