
#8465: ./configure fails on ghc-7.6.3: does not find installed libgmp.so.3 and current directory ------------------------------------+------------------------------------- Reporter: ygramoel | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- I am trying to reproduce bug #8464 with the newest ghc; not available in my repositories, so I am trying to install it manually. With a freshly downloaded and unpacked ghc-7.6.3-x86_64-unknown- linux.tar.bz2, and after cleanly installing libgmp.3 (from source of gmp-4.3.1) johan@morla:~/work/ghc-7.6.3\> ./configure checking for path to top of build tree... utils/ghc-pwd/dist- install/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory configure: error: cannot determine current directory johan@morla:~/work/ghc-7.6.3\> pwd -P /home/johan/work/ghc-7.6.3 johan@morla:~/work/ghc-7.6.3\> whereis libgmp libgmp: /usr/local/lib/libgmp.la /usr/local/lib/libgmp.a /usr/local/lib/libgmp.so johan@morla:~/work/ghc-7.6.3\> ls -l /usr/local/lib/libgmp* -rw-r--r-- 1 root root 1017334 Oct 20 20:56 /usr/local/lib/libgmp.a -rwxr-xr-x 1 root root 785 Oct 20 20:56 /usr/local/lib/libgmp.la lrwxrwxrwx 1 root root 15 Oct 20 20:56 /usr/local/lib/libgmp.so -> libgmp.so.3.5.0 lrwxrwxrwx 1 root root 15 Oct 20 20:56 /usr/local/lib/libgmp.so.3 -> libgmp.so.3.5.0 -rwxr-xr-x 1 root root 403890 Oct 20 20:56 /usr/local/lib/libgmp.so.3.5.0 johan@morla:~/work/ghc-7.6.3\> -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8465 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler