#2751: GHC 6.10.1 fails to build with --enable-shared configured on Ubuntu 8.04.
------------------------------------+---------------------------------------
    Reporter:  guest                |       Owner:          
        Type:  bug                  |      Status:  new     
    Priority:  normal               |   Component:  Compiler
     Version:  6.10.1               |    Severity:  normal  
    Keywords:  build enable-shared  |    Testcase:          
Architecture:  x86                  |          Os:  Linux   
------------------------------------+---------------------------------------
 To replicate:
       * unpack the source tar file
       * unpack the extralibs tar file
       * unpack the test suite tar file

 In the source root:
 $ ./configure --enable-shared
 $ make

 The package base-4.0.0.0 will crap out with a complaint about libffi.  Do
 the following instead after unpacking and it builds all the way through,
 even if you bootstrap3, etc.:
 $ ./configure
 $ make

 To my untutored eyes it appears as if ghc is looking for libffi.so.5 and
 isn't finding it.  This is not a surprise given:
 $ ll /usr/lib/libffi*
 lrwxrwxrwx 1 root root  15 2008-10-23 09:13 /usr/lib/libffi.so.4 ->
 libffi.so.4.0.1
 -rw-r--r-- 1 root root 22K 2008-10-11 03:38 /usr/lib/libffi.so.4.0.1

 I've attached the config log (for details of file versions, etc.) and the
 output of the make process (for complete error information) to this
 ticket.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2751>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to