[GHC] #7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found
GHC
cvs-ghc at haskell.org
Mon Apr 15 15:36:43 CEST 2013
#7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found
---------------------------------+------------------------------------------
Reporter: igloo | Owner: pgj
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: Build System | Version: 7.6.2
Keywords: | Os: FreeBSD
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by pgj):
Replying to [comment:6 kazu-yamamoto]:
> The build and installation works well with your first patch (only).
Great!
> But the installed GHC refers to the dynamic libraries in the build
directory.
> So, after "gmake maintainer-clean", the installed GHC cannot find
> necessary dynamic libraries.
Yes, as I noted in my previous comment, this is because of a bug in
`rtld(1)`. If you want to see this working, you can experiment with a
[http://people.freebsd.org/~pgj/patches/2013/04/15/rtld-releng91.fix.diff
fix] (written by Kostik Belousov). Download the diff, and rebuild your
`ld-elf.so.1` from the base system source code. This should be under
`/usr/src/libexec/rtld-elf`, where you should just apply the patch and
reinstall the dynamic loader by issuing the following commands below.
{{{
# make
# make install
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7819#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list