Ebuild should create a symlink named /usr/lib/libtermcap.so It currently does not, so builds that link with -ltermcap will not find the library. Simply adding dosym libtermcap.so.${PV} /usr/$(get_libdir)/libtermcap.so to the ebuild should be all that is needed. Reproducible: Always Steps to Reproduce: 1. Emerge libtermcap-compat 2. Try building a program (such as gcomm) that links with -ltermcap, and it fails. 3. Manually create a symlink to /usr/lib/libtermcap.so then try again, and it succeeds.
I think this package is meant for compatibility with pre-built binaries; source-based programs can be patched to work with terminfo.
what Mike said
Just tidying up a little for the sake of clarity. Marking as dupe of old and adding reference to a comment on a related bug that shows how to tackle this sort of issue. The solution in most cases is to link with "-lncurses" instead of "-ltermcap" as a drop-in replacement. *** This bug has been marked as a duplicate of bug 302613 ***