Changes between Initial Version and Version 1 of Ticket #8

Show
Ignore:
Timestamp:
10/12/10 19:16:26 (4 years ago)
Author:
justinb
Comment:

Try adding additional library paths (--extra-lib-dirs)? It's clearly a linking problem and I don't see any "-L" options on the command line.

Can you build anything else against the same libodbc library? Can you build a vanilla HDBC ODBC program (w/o involving HaskellDB)?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8

    • Property owner changed from somebody to justinb
  • Ticket #8 – description

    initial v1  
    3030}}} 
    3131 
    32 The library builds, but neither DBDirect-hdbc-odbc nor anything else can link against it.  The command line resulting in that error is `/usr/local/bin/ghc --make -o dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -hidir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -stubdir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -package-id HDBC-2.2.6.1-0f9baa5d6647e2b281cadb00f5b61c6a -package-id HDBC-odbc-2.2.3.0-60c925f705ef63a902240379c7571abe -package-id base-4.2.0.2-99442781c4fd10a8c30c35c9ce5fac5c -package-id haskelldb-2.0-29cc84bbf92847a33ad342b6a7094c17 -package-id haskelldb-hdbc-2.0-878ea7cd26cf0e7798e149f8077cc59b -package-id mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177 -O ./DBDirect.hs` 
     32The library builds, but neither DBDirect-hdbc-odbc nor anything else can link against it.  The command line resulting in that error is  
     33{{{ 
     34/usr/local/bin/ghc --make -o dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -hidir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -stubdir dist/build/DBDirect-hdbc-odbc/DBDirect-hdbc-odbc-tmp -package-id HDBC-2.2.6.1-0f9baa5d6647e2b281cadb00f5b61c6a -package-id HDBC-odbc-2.2.3.0-60c925f705ef63a902240379c7571abe -package-id base-4.2.0.2-99442781c4fd10a8c30c35c9ce5fac5c -package-id haskelldb-2.0-29cc84bbf92847a33ad342b6a7094c17 -package-id haskelldb-hdbc-2.0-878ea7cd26cf0e7798e149f8077cc59b -package-id mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177 -O ./DBDirect.hs 
     35}}}