On Fri, Sep 23, 2016 at 04:14:24AM +0200, meino.cra...@gmx.de wrote: > Hi, > > may be bash is missing a lib? > > /usr/lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
Nope, this is a well known class of build system bugs, we have a tracker for it in our bugzilla (#457530). Search for a bash bug report, or open a new one and link it to the tracker. Briefly: libncurses can be split with some symbols (functions) landing in libncurses and others in libtinfo. This is controlled by the tinfo USE flag to sys-libs/ncurses. I don't know whose idea this was but I know that, among others, CUDA requires this split. But I'm actually starting to think that this fight is not worth fighting and we should just go back to a single library. The split just adds unnecessary complexity. Perhaps emerging sys-libs/ncurses[-tinfo] and symlinking libncurses.so to libtinfo.so would be the best solution for all.