FreeBSD built-in libedit is not compatible with GHC
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.9 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |