Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78733 - MySql upgrade causes php and mod_php to break
Summary: MySql upgrade causes php and mod_php to break
Status: RESOLVED DUPLICATE of bug 78678
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 14:41 UTC by Luca Spiller
Modified: 2005-07-17 13:06 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 Luca Spiller 2005-01-19 14:41:12 UTC
Today I upgraded MySql (from 4.0.22 to 4.0.23-r1) with emerge -uD world and later when I restarted my computer Apache2 failed to load. This was because mod_php was looking for the libmysqlclient.so.12 which didn't exist any more. 

PHP also shows the same error message:
php: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

This can be solved by re-emerging php and mod_php but shouldn't Portage automatically recompile them?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1
, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -fprefetch-
loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
 /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math -fprefetc
h-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.
belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr ftp://ftp
.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/
gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/li
nux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.u
twente.nl/pub/os/linux/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gen
too/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo ft
p://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http
://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
dba doc dvd dvdread encode esd f77 fam flac font-server foomaticdb fortran gd g
dbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde libg++
libwww mad mikmod motif mpeg mysql ncurses nls nptl oav oggvorbis opengl oss pa
m pdflib perl png ppds python qt quicktime readline samba scanner sdl session s
lang spell sqlite ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb xml xml2 xmms xv zlib linguas_en_GB"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-19 14:48:31 UTC

*** This bug has been marked as a duplicate of 78678 ***