Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30947

Summary: DBD-mysql fails to load after newer version of perl emerged
Product: Gentoo Linux Reporter: Collins Richey <crichey>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Collins Richey 2003-10-11 21:52:26 UTC
At some point I emerged a newer version of perl (perl-5.8.0-r10), no indication
of dependancy with DBD-mysql-2.1027.  Apparently DBD-mysql had a hard coded
reference to /usr/lib/libmysqlclient.so.10 but only
/usr/lib/libmysqlclient.so.12 is available with latest perl.  When I attempted
to run DBD-mysql perl code, the attempt failed trying to load
libmysqlclient.so.10.  I re-emerged DBD-mysql, and then the program worked.  I
presume that DBD-mysql must be re-emerged with each perl upgrade that changes
the level of libmysqlclient

Reproducible: Didn't try
Steps to Reproduce:
I presume, cannot verify.
1. emerge a version of perl with libmysqlclient.so.10
2. emerge DBD-mysql
3. emerge a version of perl with libmysqlclient.so.12
4. DBD-mysql code fails


Actual Results:  
Same as above.

Expected Results:  
I presume that DBD-mysql should be marked as blocking any version of perl that
changes the libmysqlclient.so.nn level. Or the perl builds could include a
symlink for the older level?

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 AMD Athlon(tm) XP 1800+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
 mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml 
alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql po
stgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk
gtk2 qt kde motif opengl mozilla gphoto2 cdr scanner"
Comment 1 SpanKY gentoo-dev 2003-10-11 21:59:10 UTC
run `revdep-rebuild`

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