[Haskell-cafe] Can't create a static Linux executable when using hmatrix

Brandon Allbery allbery.b at gmail.com
Mon Sep 8 16:22:43 UTC 2014


On Mon, Sep 8, 2014 at 12:06 PM, Kai Zhang <kai at kzhang.org> wrote:

> I have all these libraries installed, and I have no problem install
> hmatrix and use it in regular haskell programs. But I would like to run my
> executable on another computer which do not have lapack and some other
> libraries. Currently I have to resort to setting up a virtual machine
> matching the target system where I compile my program, and then move it and
> shared libraries to the system.
>

Then you need to find out why either BLAS is not being linked or its static
library is missing those functions. "cabal install -v3" might help, as
might inspecting config.log if it is using configure.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140908/cdf7463e/attachment.html>


More information about the Haskell-Cafe mailing list