Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303171 - dev-db/mysql-5.1.43 broken dependency library - libmysqlclient_r.so.15 needed by libphp5.so
Summary: dev-db/mysql-5.1.43 broken dependency library - libmysqlclient_r.so.15 needed...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 02:23 UTC by Giuseppe Scaglione
Modified: 2010-02-03 01: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 Giuseppe Scaglione 2010-02-02 02:23:38 UTC
after upgrade to dev-db/mysql-5.1.43 apache2 don't restart

apache2                   | * Stopping apache2 ...
apache2                   |apache2: Syntax error on line 154 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib64/apache2/modules/libphp5.so into server: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory


                                                                                                           [ ok ]
apache2                   | * apache2 has detected a syntax error in your configuration files:
apache2                   |apache2: Syntax error on line 154 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib64/apache2/modules/libphp5.so into server: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
apache2                   | * ERROR: apache2 failed to start


Reproducible: Always

Steps to Reproduce:
1.emerge  =dev-db/mysql-5.1*
2./etc/init.d/apache2 restart
3.




library needed libmysqlclient_r.so.15
installed  libmysqlclient_r.so.16

revdep-rebuild -p -L libmysqlclient_r.so  - solves the problem
reemerge dev-lang/php
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-02 06:45:45 UTC
Turn on FEATURES=preserve-libs in Portage 2.2
And yes, you're going to HAVE to revdep-rebuild or use emerge @preserved-rebuild.

Your emerge --info is missing, please provide.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-02 06:45:56 UTC
emerge --info missing.
Comment 3 Giuseppe Scaglione 2010-02-03 01:10:58 UTC
(In reply to comment #1)
> Turn on FEATURES=preserve-libs in Portage 2.2
> And yes, you're going to HAVE to revdep-rebuild or use emerge
> @preserved-rebuild.
> 
> Your emerge --info is missing, please provide.
> 

I don't use preserve-libs feature, makes it too slow the emerging phase, for me.
Sorry for the inconvenience.



Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2350-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Feb 2010 12:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.6, 2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ rsync://mirror.netcologne.de/gentoo/ http://130.208.16.31/pub/gentoo/ http://gentoo.in.th/ ftp://ftp.twaren.net/Linux/Gentoo/ rsync://mirror.leaseweb.com/gentoo/ ftp://ftp.klid.dk/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.wheel.sk/pub/linux/gentoo/ ftp://mirrors.evolva.ro/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ http://mirrors.xservers.ro/gentoo/ http://ftp.gentoo.bg/ http://ftp.vectranet.pl/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://130.208.16.26/pub/gentoo/ rsync://ftp.udc.es/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/rbu /usr/local/portage/layman/sunrise /usr/local/portage/layman/ibormuth /usr/local/portage/layman/enlightenment /usr/local/portage/layman/arcon /usr/local/portage/layman/dev-zero /usr/local/portage/layman/kvm /usr/local/portage/layman/x11 /usr/local/portage/layman/vmware /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/luke-jr /usr/local/portage /usr/local/portage/layman/gechi"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="# #GAMES #HACKING #firefox #k3b (SECURITY 3dnow 3dnowext 3ds : AUDIO AUDITING AUTDITING CONFIGURAZIONE DESKTOP Desktop: END ENLIGHTENMENT FINE FONT FORENSIC Grafica HARDWARE INCIDENT INFORMARIVI JAVA:::: LOCAL LOCOL Network Numerical: PROGRAMMAZIONE RESPONSE) SISTEMA SISTEMI SYSTEM Sicurezza: System: TEXTLIVE TOOLS USE VIDEO VIRTUALIZATION X X509 a52 aac aalib accessibility acl acpi ada additions adns ads aff aio akonadi alsa amd64 amr amrnb amrwb ao apache2 apm archive assistant atm audiofile autoipd autotrace avahi avalon-logkit bash-completion bashlogger bazaar berkdb bidi binary-drivers bittorrent bittorrent-external bl blender-game bluetooth bonjour bookmarks branding bs2b bzip2 cairo caps captury cdaudio cdda cddb cdio cdparanoia cdr chipcard chm cjk clamav clamdtop cleartype cli cluster consolekit context contrast contrib cpudetection cracklib crypt css ctype cuda cue cups curl cvs cxx cyrillic d daemon darcs dbus dedicated dell designer-plugin detex devhelp device-mapper dga dhclient dhcpcd dialup dirac directfb disk-partition djvu dlz dmraid doc dovecot-sasl dri dtmf dts dv dvb dvd dvdr dvdread dvi2tty ebook edb editor eds emacs embedded-fuseiso emboss emerald emf emotion emovix enca encode epdf epos epydoc esd evo ewf examples exceptions exchange exif expat extensions extra extras fam fat fax fbcon festival ffmpeg fftw filter firefox firefox3 flac flash flite fltk fluidsynth fontconfig fontforge foomaticdb fortran fpx freeimage freemail freetts ftp fts3 fuse fusion gadu gallery games gcdmaster gconf gcrypt gd gdbm geoip ggi gif gimp gimp: git glade glep glib glitz gmp gnokii gnome gnutls google-gadgets gphoto2 gpm gps graphics graphite graphviz groovy groupwise gs gsm gstreamer gtk gtkhtml gts gui gzip h264 h323 hal hbci hdri hfs hpn html htmlhandbook http httpd humanities hyperestraier hyphenation ibam ical icalsrv icecast iconv icoutils icu id3tag idn ieee1394 imagemagick imap imlib indi inherit-graph injection inotify iproute2 ipv6 irda iscsi ithreads jabber jack jadetex jai java javascript jbig jfs jimi jingle jmf jpeg jpeg2k jpgraph jsapi kde kde4 kde4.1.2 kerberos keyboard kig-scripting kipi kontact kpathsea kqemu krb4 kvm l7filter ladspa lame lapack lapak laptop lasi lastfmradio latex lcms ldap ldb lensfun libcaca libffi libmms libnotify libproxy libsamplerate lirc live lm_sensors log4j login-watch loop-aes lqr lua lucene lvm lzma lzo mad madwifi mail maildir managesieve maps mbrola md5sum mdadm mdnsresponder-compat meanwhile mem-scramble mercurial messenger metalink metric mikmod mjpeg mmap mmx mmxext mng modplug modules mono motif mounts-check mozdevelop mozdom mozilla mp2 mp3 mp4 mpeg mplayer msn mssql mudflap multilib musepack music musicbrainz mydms mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nemesi netclient netserver network network-cron networkmanager nfs nls nptl nptlonly nsplugin ntfs numa nuv objc objc++ objc-gc odbc ofx ogg omega one openal openexr opengl openmp openvpn openvz oscar osgapps oss otr overlay pam pango parted pascal passwordsave pcap pch pcre pcsc-lite pdf pdo perl phonon php phyp pic pipe pkcs11 plasma plotutils plugins png pnm policykit pop3d portaudio postgres postproc ppds pppd pptp prediction prelude prm profile projectm pstricks publishers pulseaudio pvr python python3 q32 qemu qt3support qt4 qtdesigner qthelp quicktime quota quotes radio radius rar raster raw rawio readline reflection reiser4 reiserfs replytolist resolvconf rss rtc ruby s3 samba sasl scanner science scrobbler sdk sdl semantic-desktop servletapi session sharkntfs shmvideo sid sieve sip sipim skype slang slp smartcard smbkrb5passwd smbsharemodes smi smp sms sndfile snmp soap socks socks5 solver sound sourceview sox spamassassin speex spell spl spoof-source sql sqlite sqlite3 srt sse sse2 ssh ssl startup-notification subversion suidcheck svg swat swig sysfs syslog taglib tcpd teletext telnet testbed tex4ht tga theora threads thunar thunderbird: tidy tiff timezone timidity tivo tk tools tordns truetype tta tts tunepimp type3 udev uml unicode unsupported ups urandom usb user-homedirs userfiles utils v4l v4l2 vala valgrind vcd vda vde verse vettoriale: vhosts vim-syntax virtual-users virtualbox visualization vnc vorbis vpnc vxml wav wavpack webkit webpresence wicd wifi winbind winetriks winpopup wlm wma wmf x264 xanim xattr xcb xcomposite xetex xfce xfs xindy xine xml xmlrpc xorg xpixmap xprint xrandr xscreensaver xslt xulrunner xv xvid xvmc yahoo yv12 zero zeroconf zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga fbdev vesa nv v4l nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS