-
Notifications
You must be signed in to change notification settings - Fork 841
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
Build failure with "ld returned 1 exit status" ---plzz help #2209
Comments
Maybe you're missing the gmp library? Try installing 2016-05-30 15:06 GMT+02:00, Deepak Kapiswe [email protected]:
|
Thanks a Lot sjakobi ....yes the same prob was there and now its ok after installing "libgmp-dev". Problem Solved thanks again for quick response !! |
@DeepakKapiswe: Can you tell me what operating system you use and in which way you installed If you installed |
I use debian 8.2 32 bit |
@DeepakKapiswe Where did you find a 32-bit |
Extremely sorry... actually I have downloaded this file stack-1.1.2-linux-i386-gmp4.tar.gz from this link http://docs.haskellstack.org/en/stable/install_and_upgrade/#linux and just followed the instructions. |
@borsboom: I think it would be a good idea to list the packages/libraries that are necessary for using stack and ghc in the installation guide. Alternatively, if there's a good external source, we could have a link to that?! |
I've added the requirements and instructions how to install them on Fedora/CentOS and Debian/Ubuntu to the installation guide. |
Awesome! Thanks!
|
Giving this error on build ....can someone help me what is going on ?
[1 of 1] Compiling Main ( /tmp/stack3344/Setup.hs, /tmp/stack3344/Setup.o )
Linking /home/deepak/.stack/setup-exe-cache/i386-linux/tmp-setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 ...
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
Exit code ExitFailure 1 while running ["ghc","-clear-package-db","-global-package-db","-hide-all-packages","-package","base","-package","Cabal-1.22.5.0","/tmp/stack3344/Setup.hs","-o","/home/deepak/.stack/setup-exe-cache/i386-linux/tmp-setup-Simple-Cabal-1.22.5.0-ghc-7.10.3","-rtsopts"] in /tmp/stack3344/
The text was updated successfully, but these errors were encountered: