-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I tried to use HaPy with stack, but failed. Could you please update the example?
What I found up to now is: the extra libraries options has to go to stack.yaml, e.g.
ghc-options:
package-name: -lHSrts-ghc7.10.3
The _.so file will be somewhere in .stack-work/install/x86_64-linux/lts-5.8/7.10.3/lib/x86_64-linux-ghc-7.10.3/modulename_/lib*.so. (Tough I haven't used--enable-shared anywhere, how'd I supply that to stack?) So far so good. Copying that *.so-file to the python directory and using it there gives me:
OSError: /usr/lib/ghc/ghcpr_8TmvWUcS1U1IKHT0levwg3/libHSghc-prim-0.4.0.0-8TmvWUcS1U1IKHT0levwg3-ghc7.10.3.so: undefined symbol: stg_forkOnzh
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels