I tried to prelink my applications (as I have done in the past) to get them load faster. Got hundreds of lines like this: prelink: /usr/kde/3.3/bin/kmixctrl: Cannot prelink against non-PIC shared library /usr/lib/libidn.so.11 I heard once that if prelink for one library fails it leaves the whole binary non-prelinked (and thus slow). So, now none of my kde applications and such can be prelinked? I had the things beautifully prelinked with no errors and just upgraded to use ~x86 and when I decided to prelink everything again, .. Any suggestions/fixes? * net-dns/libidn Latest version available: 0.5.13 Latest version installed: 0.5.13 make.conf CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" ACCEPT_KEYWORDS="~x86" USE="mmx sse acpi alsa apache2 apm arts avi bonobo cdr crypt cups curl dga doc dvd ethereal fbcon flash gd gif gnome gphoto2 gpm gtk gtk2 imap imlib java jpeg kde lcms libwww mad mikmod mozilla mpeg ncurses pam pdflib perl png python qt quicktime readline sdl ssl svg svga tcpd tetex tiff truetype unicode usb videos wmf wxwindows X Xaw3d xface xml2 xmms xv zlib ipv6 tcltk" CXXFLAGS="${CFLAGS}" FEATURES="ccache sandbox candy" CCACHE_SIZE="1G" Reproducible: Always Steps to Reproduce: 1. Use ~x86 arch with kde, libidn and stuff 2. Try to prelink the applications Actual Results: Errors, most likely the process failed Expected Results: Properly prelinked libraries..
Probably this is related to bug 72969. Maybe the ebuild should just avoid passing any --with-pic or --without-pic option, after all libidn uses libtool and should do the right thing automatically...
I don't understand all that, but I managed to recompile the library so that now everything prelinks. (As suggested in that other bug report.)
I removed the pic flag form libidn. All should be ok now.