From: https://github.com/drforr/perl6-readline/issues/23 On Slackware 14.2, symbols from ncurses need to be loaded before symbols from readline can be used. diff --git a/lib/Readline.pm b/lib/Readline.pm index 6001792..94db447 100644 --- a/lib/Readline.pm +++ b/lib/Readline.pm @@ -711,6 +711,15 @@ class Readline:ver<0.1.4> { last; } + given $*DISTRO.name { + when 'slackware' { + if $version ~~ v6 { + my sub tgetnum(Str --> int32) is native('ncurses') { * } + tgetnum(''); + } + } + } + ( $library, $version ) }