When I try to emerge kdelibs-3.1.1a, I get error about libpcre: ---- configure: error: You're missing libpcre. Download libpcre from http://www.pcre.org or find a binary package for your platform. Alternatively, you can specify --disable-pcre, but some web pages - using regular expressions in Javascript code - will not work correctly, the regexp support being quite limited if libpcre isn't present. ---- But ld -lpcre, say 'ld: warning: cannot find entry symbol _start; not setting start address', as I know this mean that libpcre exists in system and ld can find it. Reproducible: Always Steps to Reproduce: 1. emerge kdelibs Actual Results: Error which I describe before Expected Results: kdelibs-3.1.1a should be built Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.5.68 i686 Celeron (Mendocino) GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt encode gif imlib jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcltk java X gpm tcpd pam ssl perl python oggvorbis gtk qt motif opengl -gnome -cups" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-O3 -mcpu=i686 -pipe" CXXFLAGS="-O3 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
This is a libpcre bug. Which version of libpcre do you have?
I have libpcre-4.2
Well, I downgraded libpcre from 4.2 to 3.9-r2 and looks like 'emerge kdelibs' work normal. Thanks
Remerging 4.2 (or using the 4.2-r1 I just committed) fixes the problem too. There was a libtool problem in libpcre having it fail if there wasn't a libpcre allready installed.