
25 Jun
2008
25 Jun
'08
4:10 a.m.
$ ll $ORACLE_HOME/lib ... I assume that libociei.so is the library I need.
Actually it's libclntsh.so. You need to change the oracle section in Takusen.cabal to this:
<hand-slaps-forehead/> Another difference between Windows and Linux Oracle installations is that the client libs are in $ORACLE_HOME/lib on Linux, but in $ORACLE_HOME/bin on Windows. The Setup.hs script has the Windows case baked in. You should change the configOracle function like so: configOracle verbose buildtools = createConfigByFindingExe verbose buildtools "Oracle" sqlplusProgram parentFolder oracleLibDir "oci/include" -- location of OCI client library differs between Windows and Unix where oracleLibDir = if isWindows then "bin" else "lib" Alistair