i wanted to use pptpconfig - which depens on php-gtk - and php-gtk depends on php4. so an emerge pptpconfig built these three (and some other needed libs). but i had allready php5 installed on my system; and pptpconfig uses /usr/bin/php - which is php5. $ /usr/bin/php -v PHP 5.1.4-pl0-gentoo (cli) (built: Jul 6 2006 20:09:57) $ pptpconfig.php Warning: dl(): Unable to load dynamic library '/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/php_gtk.so' - /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/php_gtk.so: cannot open shared object file: No such file or directory in /usr/bin/pptpconfig.php on line 31 Call Stack: 0.0236 64 1. {main}() /usr/bin/pptpconfig.php:0 0.0238 64 2. dl() /usr/bin/pptpconfig.php:31 Fatal error: Class 'GdkColor' not found in /usr/bin/pptpconfig.php on line 96 Call Stack: 0.0236 64 1. {main}() /usr/bin/pptpconfig.php:0 ...and i found this file: /usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so (but as php5 is used it won't find it of course) so... pptpconfig needs to use php4 instead of php5 $ emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.15 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" 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/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ " LINGUAS="de" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts asf avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer hal imlib isdnlog javascript jpeg kde lcms libg++ libwww mad mikmod motif mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl subversion tcpd truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs xinerama xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
php-select php php4
thanks, its working now.
Thanks for reporting back, closing. ;)
*** Bug 146599 has been marked as a duplicate of this bug. ***