Перенес систему на другой ноут, решил сменить профиль на amd64: обновил CHOST=«x86_64-pc-linux-gnu» CFLAGS="-march=core2 -mtune=generic -O2 -pipe" ACCEPT_KEYWORDS=«~amd64» в make.conf
Сначала пытался собрать gcc, но он не собрался, потом решил обновить system и что-то сломал, больше ничего не компилится:
# emerge ncurses
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Calculating dependencies... done!
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
>>> Verifying ebuild manifests
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
>>> Emerging (1 of 1) sys-libs/ncurses-5.7-r6
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[sys-libs/ncurses-5.7-r6] bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDIR does
* not exist: '/var/tmp/portage/sys-libs/ncurses-5.7-r6'
>>> Failed to emerge sys-libs/ncurses-5.7-r6
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
*
* The following package has failed to build or install:
*
* (sys-libs/ncurses-5.7-r6, ebuild scheduled for merge)
*
sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Вопросы: ЧЯДНТ почему сломался ncurses? Как его починить и как правильно обновить всю систему на amd64?