localhost php # emerge --pretend php These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/php-5.2.2-r1 [5.1.6-r6] USE="kerberos* ldap* mysql* unicode* -filter% -json% -ldap-sasl% -suhosin% -zip-external%" after emerge php I get after a while the following persistent error. /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libpq.so, may conflict with libcrypto.so.0.9.8 ext/pgsql/.libs/pgsql.o: In function `zif_pg_escape_bytea': pgsql.c:(.text+0x6b45): undefined reference to `PQfreemem' ext/pgsql/.libs/pgsql.o: In function `zif_pg_unescape_bytea': pgsql.c:(.text+0x6c66): undefined reference to `PQfreemem' ext/pgsql/.libs/pgsql.o: In function `zif_pg_get_notify': pgsql.c:(.text+0x75ee): undefined reference to `PQfreemem' ext/pgsql/.libs/pgsql.o: In function `php_pgsql_convert': pgsql.c:(.text+0x9742): undefined reference to `PQfreemem' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-lang/php-5.2.2-r1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile php-5.2.2-r1.ebuild, line 170: Called src_compile_fastbuild php-5.2.2-r1.ebuild, line 228: Called php5_2-sapi_src_compile php5_2-sapi.eclass, line 611: Called die
You failed to run revdep-rebuild after upgrading openssl.
I do not recall upgrading openssl... but hey... This didn't solve my problem... I reinstalled openssl did run revdep-rebuild afterwards and cleaned up problems that I found with that (not pgsql, openssl or php related) After "emerge php" I did get the same result again.
emerge --info please.
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.12.5 Timestamp of tree: Wed, 06 Jun 2007 21:30:01 +0000 ccache version 2.3 [disabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt ctype cups dba dbus dri dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fastbuild firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp glitz glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog jpeg kerberos lcms ldap libg++ libwww mad memlimit midi mikmod mng motif mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf pdflib perl php png posix postgres postgresql pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl svg tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xml2 xorg xsl xv zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS