Summary: | recompilation of ncurses without unicode makes system unusable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Veller (RETIRED) <tove> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | devil |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Torsten Veller (RETIRED)
2004-09-20 10:28:50 UTC
i can reproduce it. ncurses not using unicode: libncurses.so -> libncurses.so.5 libncurses.so.5 -> libncurses.so.5.4 libncurses.so.5.4 ncurses using unicode: /lib/libncurses.so -> /lib/libncursesw.so /lib/libncurses.so.5 -> /lib/libncursesw.so.5 /lib/libncurses.so.5.4 -> /lib/libncursesw.so.5.4 /lib/libncursesw.so -> libncursesw.so.5 /lib/libncursesw.so.5 -> libncursesw.so.5.4 /lib/libncursesw.so.5.4 # ldd /bin/ls linux-gate.so.1 => (0xffffe000) librt.so.1 => /lib/librt.so.1 (0x40023000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x4002c000) libc.so.6 => /lib/libc.so.6 (0x4007f000) libpthread.so.0 => /lib/libpthread.so.0 (0x4018f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) >Well
>ln -s lib/libncurses.so.5 lib/libncursesw.so.5
>is my first-aid. So what's next?
well, that "works" in the sense that you've applied a tourniquet.
(Not a good long-term solution, but most of the shells use the
termcap interface). Both libncurses and libncursesw supply the
same identical termcap interface (but up/down from that point,
the binary interfaces are different).
ok, we've got a few things here ... the fact that '-lcurses' wasnt found is Bug 63594 the fact that your bash is linked against curses is what i tried to fix but triggered Bug 63594 the fact that you emerged ncurses with unicode support and then emerged it again without unicode support and in the process broke a lot of things --> NOTABUG *** This bug has been marked as a duplicate of 63594 *** I think problem in ncurses install procedure. Then user add into USE unicode flag then he having some big troubles. Some programs (I don't have any thinks why?) using not libncurses.so.(*) This program using libncursesw.so.(*). And then user delete unicode from USE and rebuild ncurses (but why? may be using emerge -e system ) he has trouble with this some programms. I think we may remove unicode flag from ncurses and always build ncurses with unicode. Or remove symlinks of libncurses.so.(*) and using only libncurses.so.(*) on unicode and on not unicode system. I think last way it's bad becouse we MUST rewriting some ebuilds. |