[Haskell-beginners] Re: Installing hmatrix on OS X
apfelmus at quantentunnel.de
Sun Feb 7 05:40:19 EST 2010
Duncan Mortimer wrote:
> Ooops. Cancel that --- I didn't get any errors on running "cabal
> install", and "hmatrix-0.8.2.0" is listed in my ghc-pkg list.
> However, on attempting to run the tests listed on:
> i.e.: (in ghci):
>> import Numeric.LinearAlgebra.Tests
>> runTests 20
> I get the error:
> Loading package hmatrix-0.8.2.0 ... linking ... <interactive>:
> unknown symbol `_zgemm_'
> ghc: unable to load package `hmatrix-0.8.2.0'
> Does anyone have any suggestions as to what's going on now?
Looks like you're missing a function from LAPACK. Did you add
>> Anyway --- the above appears to have worked for me. I thought I'd
>> send it back to the list in the hopes that it helps someone else. And
>> if anyone can explain where "extra-include-dirs" should go in the
>> hmatrix.cabal file, please let me know! :)
My bad, the relevant field in the cabal file is called
More information about the Beginners