depends on libreadline.7 linking to 8 works but it may need an update
No, all works, only depends on sh.
Strange. this was a new installation trial on vm and just installed it and it gave an error looking for libreadline.so.7, with 8 installed.
sh depends on readline=/>7