After upgrading portage (2 days ago) and 'wolrd', I noticed that system upgraded portage. As a result, a lot of packages are broken that were compiled with USE="kerberos", for example - sylpheed-claws, pure-ftpd, etc. after upgrade: root@home miha # /etc/init.d/pure-ftpd start * Starting Pure-FTPd... /usr/sbin/pure-ftpd: error while loading shared libraries: libkrb4.so.2: cannot open shared object file: No such file or directory [ !! ] root@home miha # Here is output of 'emerge sylpheed' with USE="-kerberos": [...] gcc -march=athlon -O3 -pipe -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -o sylpheed main.o mainwindow.o folderview.o summaryview.o messageview.o headerview.o textview.o imageview.o mimeview.o summary_search.o message_search.o folder.o procmsg.o procheader.o compose.o stock_pixmap.o prefs_gtk.o prefs_common.o prefs_account.o prefs_folder_item.o prefs_display_header.o prefs_customheader.o prefs_summary_column.o prefs_template.o prefs_actions.o account.o displayheader.o customheader.o addressbook.o addr_compl.o addritem.o addrcache.o addrclip.o addrselect.o addrbook.o addrindex.o vcard.o ldif.o importldif.o mutt.o importmutt.o pine.o importpine.o jpilot.o syldap.o editbook.o editgroup.o editaddress.o editvcard.o editjpilot.o editldap.o editldap_basedn.o addressadd.o addrharvest.o addrgather.o exporthtml.o exphtmldlg.o filesel.o foldersel.o statusbar.o logwindow.o sourcewindow.o undo.o alertpanel.o inputdialog.o progressdialog.o grouplistdialog.o setup.o codeconv.o unmime.o ssl_manager.o automaton.o pop.o mh.o mbox.o send.o recv.o inc.o import.o export.o news.o imap.o html.o enriched.o procmime.o rfc2015.o passphrase.o pgptext.o select-keys.o sigstatus.o simple-gettext.o manual.o scoring.o matcher.o prefs_matcher.o prefs_scoring.o filtering.o prefs_filtering.o mbox_folder.o quote_fmt_lex.o quote_fmt_parse.o quote_fmt.o gtkaspell.o matcher_parser_lex.o matcher_parser_parse.o string_match.o selective_download.o msgcache.o noticeview.o toolbar.o prefs_toolbar.o crash.o -rdynamic -rdynamic gtk/.libs/libsylpheedgtk.al -L/usr/lib -lcrypt -L/usr/X11R6/lib -L/usr/local/lib /usr/lib/libaspell.so -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/lib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so -lc -lgcc_s /usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -lXi -lXext -lX11 -lm /usr/lib/libgpgme.so -L/var/tmp/portage/openldap-2.0.27/work/openldap-2.0.27/libraries /usr/lib/libldap.so /usr/lib/liblber.so -lnsl -lresolv -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err /usr/lib/libgthread.so /usr/lib/libglib.so -lpthread -ldl -lcrypto -lssl -lcompface /usr/lib/libpisock.so -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2 -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkrb4 collect2: ld returned 1 exit status make[4]: *** [sylpheed] Error 1 make[4]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.8.11/work/sylpheed-0.8.11claws/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.8.11/work/sylpheed-0.8.11claws/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.8.11/work/sylpheed-0.8.11claws/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.8.11/work/sylpheed-0.8.11claws' make: *** [all] Error 2 !!! ERROR: net-mail/sylpheed-claws-0.8.11 failed. !!! Function src_compile, Line 93, Exitcode 2 !!! (no error message) Mikhail.
pardon, latest output was from "emerge sylpheed-claws" but not sylpheed. Mikhail.
after linking /usr/lib/libkrb5.so.3.1 to /usr/lib/libkrb4.so.2 sylpheed-claws and pure-ftpd started working.
USE="krb4" emerge mit-krb5 supposedly fixes this problem.
yes... there is a krb4 and krb5 use flag now...