This package is now flagged ~amd64 but still doesn't work on this platform. *** Warning: linker path does not have real file for library -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libc-client and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/c-client.a /usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib/libc-client.a(osdep.o)(.text+0x9319): In function `ssl_onceonlyinit': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Test phase [not enabled]: dev-php/php-5.0.2-r1 >>> Install php-5.0.2-r1 into /var/tmp/portage/php-5.0.2-r1/image/ category dev-php Installing PHP SAPI module: embed cp: cannot stat `libs/libphp5.so': No such file or directory make: *** [install-sapi] Error 1 !!! ERROR: dev-php/php-5.0.2-r1 failed. !!! Function php5-sapi_src_install, Line 439, Exitcode 2 Same error for mod_php-5.0.2-r1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (gcc34-amd64-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 x86_64) ================================================================= System uname: 2.6.9-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.6 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 apache2 arts artswrappersuid avi bcmath berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr codecs crypt cups dba dga divx4linux dvd encode esd exexif f77 fftw foomaticdb fortran freetype ftp gd gdbm gif gimp gimpprint gnuplot gphoto2 gpm gsl gtk gtk2 imagemagick imap imlib java jpeg kde libg++ libwww mikmod motifmoznoirc moznomail moznoxft mpeg multilib mupad-noscilab mysql nas ncurses nls nptl oggvorbis opengl oss pam pcmcia pcre pdf pdflib pear-db perl php png ppds python qt quicktime readline rtc scanner sdl session slang soap spell sqlite ssl tcltk tcpd tetex truetype usb xine xml2 xmms xosd xv zlib"
I've marked it along with mod_php-5.0.2 ~amd64 per bug #65819. also see bug #70133. try with -O2
*** This bug has been marked as a duplicate of 70133 ***