Summary: | sys-libs/slang-2.1.4 fails to build: "ld: cannot find -ltermcap" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Janke <m.yankee> |
Component: | [OLD] Core system | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michal Janke
2009-07-06 16:25:54 UTC
I've found several similar problem reports on the web, referring to building other programs. Some people managed to get over this with a workaround to link libtermcap.so to libncurses.so or modify the Makefiles to use ncurses lib instead of termcap. There's also a compatibility package sys-libs/libtermcap-compat in the portage, which might solve the problem as well. For me, using the first workaround (linking) was enough to build slang. Could someone more knowledgeable please point which way is the best (or provide a better one)? sorry for delay. please try to remerge ncurses. # emerge --oneshot ncurses # emerge slang (In reply to comment #2) > sorry for delay. > please try to remerge ncurses. > > # emerge --oneshot ncurses > # emerge slang > Just tried to re-emerge it, and the problem did not occur! I removed the symbolic link set previously as a workaround, started the emerge to confirm that it fails the same way - but it didn't! I don't know, why it went fine this time. I'll dig into the logs to find out if ncurses had been emerged since last time I built slang. (In reply to comment #3) > > Just tried to re-emerge it, and the problem did not occur! > I removed the symbolic link set previously as a workaround, started the emerge > to confirm that it fails the same way - but it didn't! > I don't know, why it went fine this time. I'll dig into the logs to find out if > ncurses had been emerged since last time I built slang. > Sorry for my delay now. Here's some relevant info about my merges: # qlop -l | grep "\(slang\|ncurses\)" Wed Feb 18 04:04:55 2009 >>> sys-libs/slang-2.1.3-r1 Thu Feb 19 00:06:59 2009 >>> sys-libs/ncurses-5.6-r2 Fri Feb 27 17:05:53 2009 >>> sys-libs/ncurses-5.6-r2 Tue Aug 4 13:39:26 2009 >>> sys-libs/slang-2.1.4 Wed Aug 5 00:33:09 2009 >>> sys-libs/ncurses-5.6-r2 Wed Aug 26 17:49:54 2009 >>> sys-libs/slang-2.1.4 ...So, it seems I've already re-emerged ncurses earlier (before 2009-08-26). However, before testing later, whether re-emerging it resolves the problem, I first _removed_ the workaround link. Now I'm confused - what is the problem with slang and ncurses, if re-emerging the latter resolves that issue? I've just tried this and it seems the problem occurs if you have built ncurses with the "minimal" flag. fixed in 2.2.2 |