Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76693 - Connection to database failend unable to load libmysqlclient.so
Summary: Connection to database failend unable to load libmysqlclient.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Don Seiler (RETIRED)
URL: http://rindt.name//pub_ftp/Daniel/dbd...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 15:23 UTC by Daniel Rindt
Modified: 2005-08-18 04:33 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 Daniel Rindt 2005-01-04 15:23:04 UTC
after installing the dbddesigner is simply start as user the dbdesigner script to startup. when i try to connect to the mysql database then i get the error you can see above on the url.
in the forum from dbddesigner it gives a thread but no has help me:
http://www.fabforce.net/forum/viewtopic.php?t=1025&highlight=libmysqlclient

Reproducible: Always
Steps to Reproduce:
1. choose in the menu on top "Database"
2. choose the connection you have setup
3. click connect
Comment 1 Balarama Bosch 2005-01-19 17:12:47 UTC
Emerged MySQL 4.0.23-r1, and after that postfix stopped working. I got the following error message:

postfix: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

Turns out there is no such file any longer. There also is no libmysqlclient.so file. Trying to re-emerge postfix lands me the error:

ld: cannot find -lmysqlclient

Downgrading to 4.0.22 again, and seeing if that fixes the problem.
Comment 2 Jesse Adelman 2005-01-20 02:29:03 UTC
Noted this after a tear-my-hair-out problem with what I thought was QT:

Making install in tools
make[1]: Entering directory `/var/tmp/portage/mysql-4.0.23-r1/work/mysql-4.0.23/tools'
make[2]: Entering directory `/var/tmp/portage/mysql-4.0.23-r1/work/mysql-4.0.23/tools'
test -z "/usr/bin" || mkdir -p -- . "/var/tmp/portage/mysql-4.0.23-r1/image//usr/bin"
  /bin/sh ../libtool --preserve-dup-deps --mode=install /bin/install -c 'mysqlmanager' '/var/tmp/portage/mysql-4.0.23-r1/image//usr/bin/mysqlmanager'
libtool: install: warning: `../libmysql_r/libmysqlclient_r.la' has not been installed in `/usr/lib/mysql'
/bin/install -c .libs/mysqlmanager /var/tmp/portage/mysql-4.0.23-r1/image//usr/bin/mysqlmanager
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.23-r1/work/mysql-4.0.23/tools'
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.23-r1/work/mysql-4.0.23/tools'
mv: cannot stat `/var/tmp/portage/mysql-4.0.23-r1/image//usr/lib/mysql/libmysqlclient*.so*': No such file or directory

^^^
Note the last line above and the "No such file or directory" at the end of it.
Comment 3 Jesse Adelman 2005-01-20 02:32:05 UTC
I should note that, obviously, this is a problem with the dev-db/mysql-4.0.23-r1 ebuild. I'm masking it and going back to 4.0.22, as well.
Comment 4 Chris Bare 2005-01-20 08:28:44 UTC
comparing a working system to one with this problem, it appears that the files in lib no longer include the .so extension:

good:
libmysqlclient.so
libmysqlclient.so.12
libmysqlclient.so.12.0.0

broken:
libmysqlclient
libmysqlclient.12
libmysqlclient.12.0.0
Comment 5 Don Seiler (RETIRED) gentoo-dev 2005-01-20 09:51:57 UTC
There was some nasty bug in mysql 4.0.23-r1.  I think -r2 fixes all known bugs.
Comment 6 jan kuipers 2005-01-21 04:26:09 UTC
Using mysql-4.0.23-r2, I experience the same as with mysql-4.0.23-r1; There are no libmysqlclient*.so's in /usr/lib and revdep-rebuild'ing fails for packages depending on mysql. 

Oddly enough: 

bluebird mysql # qpkg -I -v mysql
dev-db/mysql-4.0.23-r2 *
dev-perl/DBD-mysql-2.9003 *

bluebird mysql # qpkg -I -l mysql | grep mysqlclient.so
/usr/lib/mysql/libmysqlclient.so -> ../libmysqlclient.so 1106270311

bluebird mysql # ls -l /usr/lib/mysql/libmysqlclient.so
ls: /usr/lib/mysql/libmysqlclient.so: No such file or directory

bluebird mysql # ls -l /usr/lib/libmysqlclient.so
ls: /usr/lib/libmysqlclient.so: No such file or directory
Comment 7 Don Seiler (RETIRED) gentoo-dev 2005-01-26 14:19:09 UTC
$ qpkg -f -v /usr/lib/libmysqlclient.so
dev-db/mysql-4.0.23-r2 *

I'll try to use dbdesigner tomorrow and test it out.
Comment 8 Francesco R. (RETIRED) gentoo-dev 2005-08-18 04:33:23 UTC
MySQL 4.0.25-r2 is now stable on x86 and amd64