if python is built w/ use readline, it tries to build readline.so that fails missing tgetent. This is defined in libncurses but libreadline does not have DT_NEEDED -> libncurses, so it fails. glibc's ldso tolerates this if the libs are provided at build time, but uclibc's newest ldso changes won't allow that readlines INSTALL file describes this behaviour to allow to use tgetent from either libncurses or libtermcap. solution: build libreadline w/ -lncurses Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 44086 [details, diff] adds -lncurses to SHLIB_LIBS
in portage