#2673: FreeBSD built-in libedit is not compatible with GHC
--------------------------+-------------------------------------------------
Reporter: gmainland | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.9 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: FreeBSD
--------------------------+-------------------------------------------------
FreeBSD supplies a version of libedit with the base system, which is
installed as /lib/libedit.so.6. It's a different version of the NetBSD
code upon which the libedit that ghc uses is built, and it doesn't include
any readline support. A version of libedit that works with GHC is in
ports, but as it lives in /usr/local/lib and has the same version number
as the libedit in /lib, the linker picks up the version in /lib, which
causes ghc to fail. The attached patch passes the -rpath flag to the
linker, fixing the problem.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2673>
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