Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run Numeric.LinearAlgebra.Tests.runTests on Windows 7 #91

Open
reeteshmukul opened this issue Sep 30, 2014 · 8 comments
Open

Cannot run Numeric.LinearAlgebra.Tests.runTests on Windows 7 #91

reeteshmukul opened this issue Sep 30, 2014 · 8 comments

Comments

@reeteshmukul
Copy link

Hi,

I installed hmatrix, hmatrix-tests using the instruction given on Installation page. However I always get this error:

i386-windows-ghc-7.8.3\hmatrix-0.16.0.6\HShmatrix-0.16.0.6.o: unknown symbol `_asinh'

Please let me know how this can be fixed.

@albertoruiz
Copy link
Collaborator

The missing symbol asinh should be provided by the C math.h library. It is C99, so perhaps some C flag is needed in the cabal file.

@sinisterdexter
Copy link

I'm getting the same error whenever I try to use any hmatrix functions in ghci.

I don't know what happens if I use the tests--I'd given up on installing hmatrix-tests on windows. I'm surprised you managed it. (When I try I get error messages saying that pkg-config is not found, and if I install it, that the pkg-config package gsl is not found.)

So, if anyone knows what to do about this I'd appreciate it. I'd really like to get started using this package.

I'm using Windows 8, not Windows 7. GHC Platform and hmatrix both newly installed: GHC version 7.83. hmatrix 0.16.0.6

@jcchurch
Copy link

jcchurch commented Apr 2, 2015

Was there any resolution to this issue? I would appreciate a fix on which C flag is need in the cabal file.

@hvr
Copy link

hvr commented Apr 10, 2015

I wonder if this something similar to ekmett/log-domain#6

@mkallen
Copy link

mkallen commented Apr 10, 2015

@mcandre
Copy link

mcandre commented Apr 10, 2015

+1 Please fix

@albertoruiz
Copy link
Collaborator

Please make a pull request.

@Mistuke
Copy link

Mistuke commented Aug 29, 2017

Is.. this still an issue? The actual issue was that the GHC runtime linker was too eager in the past, this made it unable to properly link static libraries. This however should have been solved with GHC 7.10.3, and we also link libmingwex in by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants