I am using I'm using Python 2.2, mysql 3.23.52-3 and trying to install MySQL-python-0.9.2-1.i386.rpm on Redhat 8.0. Mysql and Python and python-devel are already installled via Redhat RPM's. When i try to install the MySQL-python-0.9.2-1.i386.rpm, I get the following error:
error: Failed dependencies:
libmysqlclient_r.so.10 is needed by MySQL-python-0.9.2-1
Redhat has /usr/lib/mysql/libmysqlclient.so.10.0.0
I made a symlink:
ln -s libmysqlclient.so.10.0.0 libmysqlclient_r.so.10
and tried the MySQL-python-0.9.2-1.i386.rpm again and got the same error.
Any suggestion would be greatly appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Coming to this thread late - I need to install MySQL 4.0.15 from source on Solaris. No libmysqlclient_r.so.* file is built as far as I can tell. I configured with the --with-pthread flag. Is this perhaps a shared library which is no longer created?
Another response in a related thread said to
create a symlink from libmysqlclient_r.so to
libmysqlclient.so. That sounds a bit dangerous.
Presumably the _r version of the library is named
differently for a reason. I looked back at my Linux
server which runs 3.23.41. It has both versions. They
are distinct.
What does the _r mean and what are the ramifications of using libmysqlclient.so?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I haven't been able to make the rpm packet work. Only the python build from the tar-packet seems to work. Incidentally, I neither could get the deb packet work, but that was because the zope deb packet did not work at all (apt-get on knoppix3.2). So, my conclusion: Use tar packets of zope, zmysqlda together and mysql-python.You may use the zope-rpm from mysql.com.
Flemming
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-10-07
Sorry, not
ln -s libmysqlclient_r.so.10.0.0 libmysqlclient.so
but
ln -s libmysqlclient_r.so.10.0.0 libmysqlclient_r.so
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using I'm using Python 2.2, mysql 3.23.52-3 and trying to install MySQL-python-0.9.2-1.i386.rpm on Redhat 8.0. Mysql and Python and python-devel are already installled via Redhat RPM's. When i try to install the MySQL-python-0.9.2-1.i386.rpm, I get the following error:
error: Failed dependencies:
libmysqlclient_r.so.10 is needed by MySQL-python-0.9.2-1
Redhat has /usr/lib/mysql/libmysqlclient.so.10.0.0
I made a symlink:
ln -s libmysqlclient.so.10.0.0 libmysqlclient_r.so.10
and tried the MySQL-python-0.9.2-1.i386.rpm again and got the same error.
Any suggestion would be greatly appreciated
Isn't MySQL-python-0.9.2 already in Red Hat 8.0 (on their CDs)?
I think your only option is to get the tarball and build an RPM from that. Read the README within for instructions.
Coming to this thread late - I need to install MySQL 4.0.15 from source on Solaris. No libmysqlclient_r.so.* file is built as far as I can tell. I configured with the --with-pthread flag. Is this perhaps a shared library which is no longer created?
Another response in a related thread said to
create a symlink from libmysqlclient_r.so to
libmysqlclient.so. That sounds a bit dangerous.
Presumably the _r version of the library is named
differently for a reason. I looked back at my Linux
server which runs 3.23.41. It has both versions. They
are distinct.
What does the _r mean and what are the ramifications of using libmysqlclient.so?
Well, I haven't been able to make the rpm packet work. Only the python build from the tar-packet seems to work. Incidentally, I neither could get the deb packet work, but that was because the zope deb packet did not work at all (apt-get on knoppix3.2). So, my conclusion: Use tar packets of zope, zmysqlda together and mysql-python.You may use the zope-rpm from mysql.com.
Flemming
Sorry, not
ln -s libmysqlclient_r.so.10.0.0 libmysqlclient.so
but
ln -s libmysqlclient_r.so.10.0.0 libmysqlclient_r.so