[Haskell-cafe] build error using hsqml

Max Voit max.voit+mlhc at with-eyes.net
Sat Mar 26 18:35:10 UTC 2016


On Sat, 26 Mar 2016 19:15:07 +0100
Fabien R <theedge456 at free.fr> wrote:

> Any hint ?

You're missing the .so file:

> <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 ...

On debian-based distributions you may use apt-file to find which
package(s) contain files, e.g. (on jessie):

% apt-file find libQt5Widgets.so
libqt5widgets5: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
...
qtbase5-dev: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so

These paths ought to be searched by default, so I suggest you're just
missing the package.

Best,
Max


More information about the Haskell-Cafe mailing list