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

Bug 113352

Summary: mysql-5.0.16-r1 does not create /usr/lib{64}/libmysqlclient.so.15 symlink
Product: Gentoo Linux Reporter: Christian Malerbakken <christian>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: critical CC: castan.o, harrisl, iyosifov, kovyrlo, netmon, php-bugs, sound, trapni
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix symlink creation

Description Christian Malerbakken 2005-11-23 06:31:14 UTC
after upgrading to mysql-5.0.16-r1, amarok faults with this message:

amaroK: [Loader] Starting amarokapp..
amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
amarokapp: error while loading shared libraries: libmysqlclient.so.15: cannot
open shared object file: No such file or directory

inspecting the files installed by mysql, it appears this file(or link) is no
longer created.

Everything seems to work fine by just creating the symbolic link
/usr/lib64/libmysqlclient.so.15 -> /usr/lib64/libmysqlclient.so (been playing
tracks for a couple of hours now, no errors)
Comment 1 Christian Malerbakken 2005-11-23 06:31:45 UTC
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-archck5 x86_64)
=================================================================
System uname: 2.6.14-archck5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/confi         
             g /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentopia
/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="amd64 X a52 aac acpi alsa asf audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cairo cddb cdr crypt css cups curl dbus d                   
   jbfft dpms dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif expat
fame fbcon ffmpeg flac foomaticdb fortran fuse ggi gif                       
gimpprint glitz glut gmp gnokii gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal
howl idn imagemagick imlib ipv6 ithreads java jpeg j                       peg2k
junit kde kdeenablefinal lcms libcaca libwww logitech-mouse lzo lzw lzw-tiff mad
mas matroska mikmod mjpeg mng mono mozilla mo                       znoirc
moznomail mozsvg mp3 mpeg musepack musicbrainz mysql nautilus ncurses nfs nls
nntp nptl nptlonly nsplugin nvidia offensive og                       g
oggvorbis openal opengl pam pam_console pcre pda pdf pdflib perl pic plotutils
png postscript povray ppds python qt quicktime rdes                       ktop
readline real samba sblive scanner sdl silc sndfile speex spell sqlite ssl svg
t1lib tcltk tcpd theora threads tiff truetype tr                      
uetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l vcd visualization
vorbis wmf xine xml2 xmms xpm xscreensaver xv xvid                       
zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-23 06:44:14 UTC
Run revdep-rebuild after removing your symlink. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-11-23 11:08:36 UTC
(In reply to comment #2)
> Run revdep-rebuild after removing your symlink. 

Unfortunately won't help; mysql-5.0.16 ebuild for whatever reason stopped
creating these symlinks, this will break tons of stuff (also php is already
broken with that).

Reopening.
Comment 4 Francesco R. (RETIRED) gentoo-dev 2005-11-23 12:17:57 UTC
should be fixed in 5.0.16-r2
shuold becouse it's still unstable code, if interested see pkg_postinst()
function of -r2 ebuild
Comment 5 Harris Landgarten 2005-11-23 17:15:29 UTC
(In reply to comment #4)
> should be fixed in 5.0.16-r2
> shuold becouse it's still unstable code, if interested see pkg_postinst()
> function of -r2 ebuild

Still broken in -r2 ldconfig does not pick up any of the libs in /usr/lib/mysql/*
It still thinks the libs are in /usr/lib. I am on X86.
Comment 6 Herbie Hopkins (RETIRED) gentoo-dev 2005-11-23 17:29:06 UTC
reopening due to comment #4
Comment 7 Herbie Hopkins (RETIRED) gentoo-dev 2005-11-23 17:36:54 UTC
Created attachment 73470 [details, diff]
patch to fix symlink creation

The above patch fixes the small slip in the symlink creation. Also switched to
readlink -e since readlink -f always produces output here (even if symlink does
not exist), is that what you meant?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 00:47:33 UTC
*** Bug 113428 has been marked as a duplicate of this bug. ***
Comment 9 manolis 2005-11-24 01:36:07 UTC
r2 is still broken for my vpopmail-qmail combination linked to
libmysqlclient.so.15. But not for amarok ... amarok works fine
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 06:08:15 UTC
*** Bug 113462 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 06:09:02 UTC
CCing netmon wrt Bug 113462...
Comment 12 Francesco R. (RETIRED) gentoo-dev 2005-11-24 06:23:00 UTC
php 5 compile successfully for me with "-r3" .
Please test, I've a pretty messed up system at the moment (tonight CET the real
testing for me)
Comment 13 Ivan Yosifov 2005-11-24 07:34:22 UTC
-r3 worked for me too.
Comment 14 Harris Landgarten 2005-11-24 12:22:45 UTC
Libs are back with -r3. No problems noted