#7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found ---------------------------------+------------------------------------------ Reporter: igloo | Owner: pgj Type: bug | Status: patch 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 ian@…): commit 9843083601adb7db03844aecd9a855b0d06609a7 {{{ Author: Ian Lynagh <ian@well-typed.com> Date: Sat Apr 27 00:26:06 2013 +0100 When linking with $ORIGIN rpaths, use the "-z origin" linker flag too On FreeBSD, one needs use "-z origin" in order to enable resolution of $ORIGIN in RPATH. Part of #7819. rts/ghc.mk | 2 +- rules/distdir-way-opts.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7819#comment:12> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler