Trying to use racket 6.4 with xrepl results in the following error: ; Warning: no readline support (ffi-lib: couldn't open "libedit.so.3" (libedit.so.3: cannot open shared object file: No such file or directory)) This is fixed by installing dev-libs/libedit and adding a symlink for libedit.so.3 in /lib64. It would seem that this is an optional dependency but it doesn't appear to be documented anywhere and it would be nice to have it in the ebuild. This is not an issue with previous versions of racket where sys-libs/readline seems to have been sufficient.
(In reply to Tom Gillespie from comment #0) > This is fixed by installing dev-libs/libedit and adding a symlink for > libedit.so.3 in /lib64. It would seem that this is an optional dependency > but it doesn't appear to be documented anywhere and it would be nice to have > it in the ebuild. The weird thing is that it expects libedit.so.3, which isn't created by the libedit package. Manually creating a symlink seems janky to me. Also, I can't seem to find any way to enable or disable readline/libedit in the configure script.
Two updates: 1) By complete happenstance I came across this email which seems to shed some light on the issue https://www.mail-archive.com/racket-users@googlegroups.com/msg26850.html 2) Still an issue in 6.5
Relevant command to fix the issue. `raco pkg install readline-gpl`
Maybe there should be a readline USE flag which just installs the `readline-gpl' package at "installation scope" along with depending on readline.