Gentoo's Bugzilla –
Attachment 867059 Details for
Bug 911720dev-lang/ghc-8.10.6-r3 - $EPREFIX/var/tmp/portage/dev-lang/ghc-8.10.6-r3/work/usr/lib64/ghc-8.10.6/bin/ghc-pkg: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory