configure: error: Cannot find libmysqlclient_r under /usr. Note that the MySQL client library is not bundled anymore! * * ERROR: dev-lang/php-5.2.6-r7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4480: Called src_compile_normal * environment, line 4591: Called php5_2-sapi_src_compile * environment, line 3509: Called die * The specific snippet of code: * ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed"; * The die message: * configure failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.6-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.2.6-r7/temp/environment'. * Reproducible: Always Steps to Reproduce: emerge php this patch helped me resolving: --- /var/tmp/portage/dev-lang/php-5.2.6-r7/work/php-5.2.6/ext/mysql/config.m4 2006-06-01 21:14:48.000000000 +0200 +++ config.m4 2008-05-04 19:34:26.000000000 +0200 @@ -3,9 +3,8 @@ dnl AC_DEFUN([MYSQL_LIB_CHK], [ - str="$MYSQL_DIR/$1/lib$MYSQL_LIBNAME.*" - for j in `echo $str`; do - if test -r $j; then + find $MYSQL_DIR/$i/ -name "lib$MYSQL_LIBNAME*" | while read j; do + if test -r $j; then MYSQL_LIB_DIR=$MYSQL_DIR/$1 break 2 fi
Thanks for reporting this bug. I do miss a build log, can you please post one? Also, does this bug still occur with latest php version available in portage (php-5.2.12)? Can you post the output of emerge -pv dev-lang/php?
well, i've 5.2.13 now and that works without the patch, 5.2.6 isnt even in portage anymore, so i think this bug is obsolete. *closed*