[Haskell-cafe] Damn you hmatrix

Yotam Ohad yotam2206 at gmail.com
Thu Jul 27 16:02:07 UTC 2017


Hi cafe,
I have a very annoying problem with hmatrix. I have a project which depends
on it. I can use `stack build` with no errors but when I try to load it to
GHCi(`stack ghci`) I get the following error:
sh-4.3$ stack ghci
[0mApple-0.1.0.0: configure (lib) [0m
[0mConfiguring Apple-0.1.0.0... [0m
[0mApple-0.1.0.0: initial-build-steps (lib) [0m
[0mConfiguring GHCi with the following packages: Apple [0m
GHCi, version 8.0.2: http://www.haskell.org/ghc/  :? for help
ghc.EXE: addDLL: libblas.dll (Win32 error 126): The specified module could
not be found.
ghc.EXE: Could not load `libblas.dll'. Reason: addDLL: could not load DLL

ghc.EXE: addDLL: liblapack.dll (Win32 error 126): The specified module
could not be found.
ghc.EXE: Could not load `liblapack.dll'. Reason: addDLL: could not load DLL

ghc.EXE:
C:\Users\Yotam\Apple\.stack-work\install\ebd7be2b\lib\x86_64-windows-ghc-8.0.2\hmatrix-0.18.0.0-IA7RzrKn1o84vo5PLhGcwQ\HShmatrix-0.18.0.0-IA7RzrKn1o84vo5PLhGcwQ.o:
unknown symbol `dgesvd_'

ghc.EXE: unable to load package `hmatrix-0.18.0.0'

This is really bizarre, and could not find something online to help me fix
this.
I'm using stack 1.5.0 with ghc 8.0.2

On a side note, I've seen some discussions about why the C libraries can't
be added automatically but did not understand most of it, if someone can
explain it would be highly appreciated.

Yotam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170727/c7061020/attachment.html>


More information about the Haskell-Cafe mailing list