Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126401 - dev-lang/php-5.1.2 cli can't find zend extension
Summary: dev-lang/php-5.1.2 cli can't find zend extension
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 03:07 UTC by Rodrigo Severo
Modified: 2006-03-16 03:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Severo 2006-03-16 03:07:09 UTC
I've a just reinstalled dev-lang/php-5.1.2. I am getting the following warning message:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/zip.so' - /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0

In fact I don't have a /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/ directory, just a /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20041030/.

Despite the warning, php seems to be working fine.

emerge --info:

# emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirror.sdv.fr http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/"
MAKEOPTS="-j3"
PKGDIR="/var/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-casa"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib alsa apm arts audiofile avi bitmap-fonts bzip2 bzlib cddb cdparanoia cdr crypt cups curl dga dri dts dvd dvdread edl eds emboss encode exif expat faac faad fam fame ffmpeg flac foomaticdb fortran freetds gd gdbm gif gimpprint glut gmp gpm gstreamer gtk2 idn imagemagick imlib jbig jpeg jpeg2k junit kde kdeenablefinal lcms ldap libcaca libg++ libwww lirc live lzo mad matroska md5sum mhash mikmod mjpeg mmx mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png postgres ppds python qt quicktime readline real ruby samba scanner sdl sndfile speex spell sse ssl svg svga tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs wmf x264 xine xinerama xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-16 03:10:19 UTC
Yeah, so remove any references to that extension that you don't use any more from your config files.

# grep -Rni zip.so /etc/php/

Portage won't do this because of CONFIG_PROTECT.