| Summary: | sys-libs/libtermcap-compat should create a /usr/lib/libtermcap.so symlink to the library | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick McMunn <doctorwhoguy> |
| Component: | [OLD] Library | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | floppym |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=64212 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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 *** |
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.