Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109849 - reemerge of mod_php needed after upgrate to mysql-4.1.14
Summary: reemerge of mod_php needed after upgrate to mysql-4.1.14
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 13:44 UTC by Luca Guglielmetti
Modified: 2005-10-26 13:04 UTC (History)
1 user (show)

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 Luca Guglielmetti 2005-10-19 13:44:04 UTC
reemerge of mod_php needed after upgrate to mysql-4.1.14

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/apache2 stop
2. upgrade mysql to the new stable version (4.1.14)
3. /etc/init.d/apache2 start

Actual Results:  
# /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /usr/lib/apache2/conf/modules.d/70_mod_php.conf:
Cannot load /usr/lib/apache2/extramodules/libphp4.so into server:
libmysqlclient.so.12: cannot open shared object file: No such file or directory 

Expected Results:  
Apache start only after reemerging mod_php


Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13.2 i686)
=================================================================
System uname: 2.6.13.2 i686 AMD Athlon(tm) XP 2200+
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe -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="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X ace alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups
curl divx4linux dvd dvdread emboss encode fam foomaticdb fortran gd gdbm gif gpm
gstreamer gtk gtk2 imap imlib java jpeg junit libg++ libwww live mad maildir
mikmod mmx motif mp3 mpeg mysql ncurses network nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime rar readline rtc sdl spell sse ssl svg tcpd
tiff truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-19 17:05:45 UTC
Portage has no reverse dependency checking builtin (yet). Use revdep-rebuild.
Comment 2 Luca Guglielmetti 2005-10-20 08:39:00 UTC
(In reply to comment #1)
> Portage has no reverse dependency checking builtin (yet). Use revdep-rebuild.
Yes, I runned revdep-rebuild, and it fixed some packages, but not 
mod_php
Comment 3 Francesco R. (RETIRED) gentoo-dev 2005-10-22 09:27:57 UTC
Please document this in 
http://www.gentoo.org/doc/en/mysql-upgrading.xml
revdep-rebuild alone don't catch all the packages that need to be rebuild, use:

revdep-rebuild --library="libmysqlclient.so.12"

for the record association library - mysql version is:

libmysqlclient.so.12 mysql-4.0
libmysqlclient.so.14 mysql-4.1
libmysqlclient.so.15 mysql-5.0

If you find a nice way to tell it (also if its a 4.0->4.1 upgrade doc) it will
be less work for the future and may permit to use the same doc for next upgrades.

In the meantime I'm going to add a message to the ebuilds too.

Regards, 
Francesco Riosa
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-22 09:31:43 UTC
Not bug wranglers, please; from my point of view this bug is still invalid. 

Comment 5 Luca Guglielmetti 2005-10-26 13:04:05 UTC
I reinstalled mysql-4.0.25 (and I runnerd revdep-rebuild) to switch another time
to mysql-4.1.14, but this time revdep-rebuild found correctly the broken library

broken /usr/lib/apache2/modules/libphp4.so (requires libmysqlclient.so.12)

and reemerged mod_php

I think that this bug is really invalid.. I'm sorry