libffi was:Re: ANNOUNCE: GHC version 7.0.1

Christian Maeder Christian.Maeder at dfki.de
Wed Nov 17 09:34:02 EST 2010


ghc can be built without and with libffi. What advantage do I gain in
the latter case? The packages that come with ghc (displayed by "ghc-pkg
dump") don't use it.

Thanks Christian


Am 16.11.2010 13:03, schrieb Christian Maeder:
> http://new-www.haskell.org/ghc/dist/7.0.1/ghc-7.0.1-i386-unknown-linux.tar.bz2
> 
> ./configure failed with:
> 
> checking for path to top of build tree... utils/ghc-pwd/ghc-pwd: error
> while loading shared libraries: libffi.so.5: cannot open shared object
> file: No such file or directory
> configure: error: cannot determine current directory
> 
> ldd utils/ghc-pwd/ghc-pwd
>         linux-gate.so.1 =>  (0xffffe000)
>         libutil.so.1 => /lib/libutil.so.1 (0xb7718000)
>         libdl.so.2 => /lib/libdl.so.2 (0xb7713000)
>         libm.so.6 => /lib/libm.so.6 (0xb76e9000)
>         libffi.so.5 => not found
>         libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7693000)
>         librt.so.1 => /lib/librt.so.1 (0xb7689000)
>         libc.so.6 => /lib/libc.so.6 (0xb751e000)
>         /lib/ld-linux.so.2 (0xb7745000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb7503000)
> 
> The 64Bit version works, though.
> 
> Christian
> 
> 
> Am 16.11.2010 01:09, schrieb Ian Lynagh:
>> How to get it
>> ~~~~~~~~~~~~~
>>
>> The easy way is to go to the web page, which should be self-explanatory:
>>
>>         http://www.haskell.org/ghc/
>>
>>


More information about the Glasgow-haskell-users mailing list