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

can't load .so/.DLL for: libHSinteger-gmp-0.5.0.0 #414

Open
roper79 opened this issue Oct 21, 2017 · 2 comments
Open

can't load .so/.DLL for: libHSinteger-gmp-0.5.0.0 #414

roper79 opened this issue Oct 21, 2017 · 2 comments

Comments

@roper79
Copy link

roper79 commented Oct 21, 2017

hastec Main.hs -o ../dist/main.js -Wall -fno-warn-missing-signatures --debug
|| hastec: <command line>: can't load .so/.DLL for: libHSinteger-gmp-0.5.0.0-7De04errl6qF6aE1LQQO7V.so (libHSinteger-gmp-0.5.0.0-7De04errl6qF6aE1LQQO7V.so: cannot open shared object file: No such file or directory)

ab0f6c1 built using Stack

Is this enough, or should I dig deeper?

@valderman
Copy link
Owner

Does the problem persist if you use the official binaries, or when building with the portable and static flags on?

@roper79
Copy link
Author

roper79 commented Oct 21, 2017

The official Linux binary has the problem.
Now trying to compile with stack install --ghc-options='-optl-static' (excuse my incompetence, have not found how to switch the portable flag on) and I got stuck in the linking process:
Linking .stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0/build/haste-boot/haste-boot ... /usr/bin/ld: cannot find -lbz2
Any hint? (libbz2 is present in the system) Thanks!

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

2 participants