When I try to emerge php I get the following (version 5.1.4-r6 works fine for me): checking for DB1 support... no checking for DBM support... no checking for cdb_read in -lcdb... no checking for cdb_read in -lc... no configure: error: DBA: Could not find necessary library. My USE flags for this package: [ebuild U ] dev-lang/php-5.1.6-r4 [5.1.4-r6] USE="apache2 bcmath bzip2 cdb cli crypt ctype curl curlwrappers exif ftp gd gmp iconv ipv6 ldap ming mysql ncurses nls pcre pic posix readline reflection session sockets spell spl ssl threads truetype unicode xml xpm zlib -adabas -apache -berkdb -birdstep -calendar -cgi -cjk -concurrentmodphp -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gdbm -hardenedphp -hash -hyperwave-api -imap -informix -inifile -interbase -iodbc -java-external -kerberos -libedit -mcve -memlimit -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -postgres -qdbm -recode -sapdb -sasl -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -sybase -sybase-ct -sysvipc -tidy -tokenizer -vm-goto -vm-switch -wddx -xmlreader -xmlrpc -xmlwriter -xsl -yaz -zip" 0 kB My emerge --info: Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r6 i686) ================================================================= System uname: 2.6.17-suspend2-r6 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System version 1.12.4 Last Sync: Tue, 12 Sep 2006 08:50:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 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.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ " LANG="es_ES@euro" LC_ALL="es_ES@euro" LINGUAS="es en_US" MAKEOPTS="-j3" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread eds elibc_glibc encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux latex lcms ldap lesstif libg++ libnotify linguas_en_US linguas_es logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 ssl svg syslog tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Thanks a lot
Please, attach the config.log and reopen then. Thanks.
Created attachment 96869 [details] config.log This is the config.log Thanks :-)
Reopened :-)
<snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcurl.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcurl.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcurl.so, may conflict with libcrypto.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcurl.so, may conflict with libcrypto.so.0.9.8 /var/tmp/portage/php-5.1.6-r4/temp/ccmpKT7c.o: In function `main': conftest.c:(.text+0xf): undefined reference to `cdb_read' </snip> You didn't follow the instructions when upgrading openssl. revdep-rebuild --library libssl.so.0.9.7 revdep-rebuild --library libcrypto.so.0.9.7 After this, you can delete /usr/lib/libssl.so.0.9.7 and /usr/lib/libcrypto.so.0.9.7 and try again.
I have done all you have tell me, but the problem persists. I attach the new config.log. Thanks a lot
Created attachment 96960 [details] config.log
Re-emerge dev-db/cdb, still broken.
I have reemerged cdb but the problem persists :-( Thanks :-)
Created attachment 96971 [details] config.log
Well, your cdb is broken, I don't see how is this PHP fault. Try with dev-db/cdb-0.75-r1 if you haven't yet.
Also fails using cdb-0.75-r1 :-( Thanks a lot
Created attachment 96978 [details] config.log
I was having the same problem, and I solved it by adding the gdbm use flag to dev-lang/php. HTH
Yes, it works for me
(In reply to comment #13) > I was having the same problem, and I solved it by adding the gdbm use flag to > dev-lang/php. > > HTH > Seems fixed today... I will close the bug, If anybody is still afected (after updating its system) I will reopen it ;-)