Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79118 - conflict with mysql-4.0.22-r2 & libmysql links
Summary: conflict with mysql-4.0.22-r2 & libmysql links
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 11:20 UTC by Fernando (likewhoa)
Modified: 2005-01-22 17:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
php config.log (config.log,101.96 KB, application/octet-stream)
2005-01-22 11:21 UTC, Fernando (likewhoa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando (likewhoa) 2005-01-22 11:20:03 UTC
in regards to Bug 78678 which i found a fix by unmasking libtool and remerging mysql,php etc... but for some reason now.. i come up with the same issue even with Libtool 1.5.10, mysql emerges but php stalls because is doesn't find libmysql client since the links are broken.. 

well to get around this problem i upgraded mysql to dev-db/mysql-4.0.23-r2 from [4.0.22-r2] and now..

ls -al /usr/lib/mysql/libmysql*
-rw-r--r--  1 root root 352K Jan 22 13:46 /usr/lib/mysql/libmysqlclient.a
-rwxr-xr-x  1 root root  893 Jan 22 13:46 /usr/lib/mysql/libmysqlclient.la*
lrwxrwxrwx  1 root root   20 Jan 22 13:46 /usr/lib/mysql/libmysqlclient.so -> ../libmysqlclient.so*
-rw-r--r--  1 root root 360K Jan 22 13:46 /usr/lib/mysql/libmysqlclient_r.a
-rwxr-xr-x  1 root root  907 Jan 22 13:46 /usr/lib/mysql/libmysqlclient_r.la*
lrwxrwxrwx  1 root root   22 Jan 22 13:46 /usr/lib/mysql/libmysqlclient_r.so -> ../libmysqlclient_r.so*
-rw-r--r--  1 root root 3.5M Jan 22 13:46 /usr/lib/mysql/libmysqld.a

shows insted of...

ls -al /usr/lib/mysql/libmysql*
lrwxrwxrwx  1 root root   21 Jan 22 13:15 /usr/lib/mysql/libmysqlclient -> libmysqlclient.12.0.0*
lrwxrwxrwx  1 root root   21 Jan 22 13:15 /usr/lib/mysql/libmysqlclient.12 -> libmysqlclient.12.0.0*
-rwxr-xr-x  1 root root 266K Jan 22 13:15 /usr/lib/mysql/libmysqlclient.12.0.0*
-rw-r--r--  1 root root 352K Jan 22 13:15 /usr/lib/mysql/libmysqlclient.a
-rwxr-xr-x  1 root root  881 Jan 22 13:15 /usr/lib/mysql/libmysqlclient.la*
lrwxrwxrwx  1 root root   23 Jan 22 13:15 /usr/lib/mysql/libmysqlclient_r -> libmysqlclient_r.12.0.0*
lrwxrwxrwx  1 root root   23 Jan 22 13:15 /usr/lib/mysql/libmysqlclient_r.12 -> libmysqlclient_r.12.0.0*
-rwxr-xr-x  1 root root 270K Jan 22 13:15 /usr/lib/mysql/libmysqlclient_r.12.0.0*
-rw-r--r--  1 root root 360K Jan 22 13:15 /usr/lib/mysql/libmysqlclient_r.a
-rwxr-xr-x  1 root root  895 Jan 22 13:15 /usr/lib/mysql/libmysqlclient_r.la*
-rw-r--r--  1 root root 3.5M Jan 22 13:15 /usr/lib/mysql/libmysqld.a

from old mysql version 4.0.22-r2.. 

i hope this help anyone out.. i will post config.log for both installs..

Reproducible: Always
Steps to Reproduce:
1. emerge =mysql-4.0.23-r2


Actual Results:  
error detecting libmysql client...

Expected Results:  
be a good app and emerge..

emerge info
Portage 2.0.51-r14 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-ck4 i686)
=================================================================
System uname: 2.6.10-ck4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 20 2005, 20:57:00)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse -maccumulate-outgoing-args
-fforce-addr -ftracer -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers
/etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf
/etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc
/etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6
/etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo
/etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx
/etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse -maccumulate-outgoing-args
-fforce-addr -ftracer -fomit-frame-pointer -fprefetch-loop-arrays
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi bash-completion bcmath bitmap-fonts bzlib
calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvd
dvdr encode exif f77 fam fbcon font-server foomaticdb fortran ftp gd gdbm gif
gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 hardenedphp imagemagick imlib ipv6
java jikes joystick jpeg lcms ldap libg++ libwww mad maildir mbox memlimit mhash
mime ming mmx mng motif mozilla mp3 mpeg mpi msn mysql mysqli ncurses nls nptl
objc opengl oscar oss pam pcre pdflib perl php pie plotutils png pntl prelude
python qt quicktime readline sasl sdl session simplexml slcms sndfile snmp
sockets socks5 spell spl sqlite sse ssl svg svga symlink tcltk tiff tokenizer
truetype truetype-fonts type1-fonts unicode usb vhosts wddx wmf x86 xface xine
xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib"
Unset:  PORTDIR_OVERLAY
Comment 1 Fernando (likewhoa) 2005-01-22 11:21:07 UTC
Created attachment 49214 [details]
php config.log
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-22 11:29:31 UTC
Eh? As you can read in http://bugs.gentoo.org/show_bug.cgi?id=78678#c17 this will be fixed with mysql-4.0.24 and you shall use 4.0.22-r2 for now.

*** This bug has been marked as a duplicate of 78678 ***
Comment 3 Fernando (likewhoa) 2005-01-22 11:43:48 UTC
Carsten i had 4.0.22-r2 and libmysql still was not detected... i even reemerge libtool,libwww,mysql but php would not find libmysqlclient.. so 4.0.23-r2 was the only fix for me..
Comment 4 Fernando (likewhoa) 2005-01-22 12:38:47 UTC
emerge libtool libwww mysql -pv

These are the packages that I would merge, in order:

Calculating dependencies     ...done!
[ebuild   R   ] sys-devel/libtool-1.5.10-r3  (-uclibc) 0 kB 
[ebuild   R   ] net-libs/libwww-5.4.0-r2  +mysql +ssl 0 kB 
[ebuild   R   ] dev-db/mysql-4.0.23-r2  -berkdb -debug -innodb +perl +readline (-selinux) +ssl -static -tcpd 0 kB 

bug 78678 doesn't affect those versions..
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-22 13:16:31 UTC
4.0.22-r2 is definitely fine, otherwise we'll have seen a lot of bug reports in between. likely that it is a local problem. well, mysql herd...
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-22 13:55:59 UTC
there was a temporary bug between libtool-1.5.10 and mysql, that was fixed in very short order. emerge --sync and emerge mysql again, and it should be fixed.
Comment 7 Fernando (likewhoa) 2005-01-22 14:21:59 UTC
well seems portage wants to

UD]  dev-db/mysql-3.23.58-r1 [4.0.23-r2] 
me from 4.0.23.. i checked mysql everything works good, including mysql-administrator options work so does apache+php+mysql so if it's a local thing my system would not function, that is prelude,php etc.., and whatever else depends on libmysql.. 
Comment 8 Fernando (likewhoa) 2005-01-22 14:23:34 UTC
thanks robin, as i submitted the additional comments bugs told me someone did it before me, :P you was ahead of me on that one.. i'll resync and retry old mysql..\
thank in advance
Comment 9 Fernando (likewhoa) 2005-01-22 17:19:20 UTC
robin back to mysql-4.0.22-r2 and is all good now.. thanks again.. but both mysql-4.0.23-r2 and 4.0.22.-r2 seem to work for me, so bug 78678 doesn't apply to me since i run libtool-1.5.10-r3..