[Haskell-cafe] Damn you hmatrix

Dan Burton danburton.email at gmail.com
Thu Jul 27 19:31:30 UTC 2017


Have you seen the instructions here?

https://github.com/albertoruiz/hmatrix/blob/master/INSTALL.md#windows

-- Dan Burton

On Thu, Jul 27, 2017 at 9:02 AM, Yotam Ohad <yotam2206 at gmail.com> wrote:

> 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
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170727/95561e75/attachment.html>


More information about the Haskell-Cafe mailing list