osx - HsOpenSSL segfaults on OS X -
i'm trying give hsopenssl whirl on mac os x, , it's blowing in face.
the latest hackage version (hsopenssl-0.10.3.3) builds , imports, doing kills ghci (both 7.6.3 , 7.4.2):
ghci> import openssl ghci> withopenssl $ undefined $ # i'm looking @ shell prompt i put executable , built ghc, , voilĂ , segfault:
$ ./test segmentation fault: 11 i'm using version of openssl comes os x 10.8:
$ openssl version openssl 0.9.8r 8 feb 2011 (i've installed latest version of openssl, v1.0.1e, , built hsopenssl against it. again builds , imports fine, segfaults on call out openssl.)
this problem openssl, or idiosyncrasy of using os x rather linux, installation work fine python's openssl library. ...
can replicate this, or give me debugging tips?
i'm afraid have negative report - works here me, on os x. hypothetically, might using version might not allowed mention, though, difference...
module main (main) import openssl main :: io () main = withopenssl $ putstrln "hm." then can run with:
$ ghc crash.hs ... [it compiles] ... $ ./crash hm. and succeeds. i'm using ghc 7.6.3, hsopenssl 0.10.3.3, , openssl 0.9.8y, last dated 5 feb 2013.
Comments
Post a Comment