[Haskell-cafe] build error using hsqml
Fabien R
theedge456 at free.fr
Sat Mar 26 18:15:07 UTC 2016
Hello,
I'm trying to build a program using HsQml.
cabal 1.14.0 fails with this error:
Building HsQmlTest-0.0.1...
Preprocessing executable 'HsQmlTest' for HsQmlTest-0.0.1...
[1 of 1] Compiling Main ( src/Main.hs,
dist/build/HsQmlTest/HsQmlTest-tmp/Main.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package tagged-0.4.2.1 ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package text-0.11.2.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
<command line>: can't load .so/.DLL for:
/home/fabien/.cabal/lib/hsqml-0.3.4.0/ghc-7.4.1/libcbits-hsqml-0.3.4.0.so (libQt5Widgets.so.5:
cannot open shared object file: No such file or directory)
Loading package hsqml-0.3.4.0 ...
Using --extra-lib-dirs to set the path of the library does not improve
the situation.
Here is the cabal description:
name: HsQmlTest
version: 0.0.1
cabal-version: >=1.2
build-type: Simple
license: AllRightsReserved
license-file: ""
description:
data-dir: ""
executable HsQmlTest
build-depends: QuickCheck -any, base -any, hsqml -any, text -any
main-is: Main.hs
buildable: True
cpp-options: -DMAIN_FUNCTION=exeMain
extra-lib-dirs: /media/travail/debian-sources/qt5/qtbase/lib/
hs-source-dirs: src
Any hint ?
--
Fabien
More information about the Haskell-Cafe
mailing list