id summary reporter owner description type status priority milestone component version resolution keywords cc os architecture failure testcase blockedby blocking related differential
2673 FreeBSD built-in libedit is not compatible with GHC gmainland 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. bug closed normal 6.10.2 Compiler 6.9 worksforme FreeBSD x86