Upgrading Mysql from 3.23 to 4.0.23

Hi, I have been trying to install MySQL package on Redhat 9. 0 but have been unsuccessful. when I try and install the RPM, I get the following error: error: Failed dependencies: libmysqlclient. so.

Linux Software 434 This topic was started by ,


data/avatar/default/avatar21.webp

1 Posts
Location -
Joined 2005-01-30
Hi, I have been trying to install MySQL package on Redhat 9.0 but have been unsuccessful.
 
when I try and install the RPM, I get the following error:
 
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17
 
When I type in:
locate mysqlclient.so
 
the result is:
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
 
So it is there, but how do I get the rpm to recognise that mysqlclient.so.10 is there?
 
I am fairly new to this, so any help at all will be appreciated.
 
Many Thanks
Ravin

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar39.webp

68 Posts
Location -
Joined 2005-01-24
The problem is that while the libs are installed on your system they are not registered with the RPM database.
 
You can fix this in a kind of silly way. Locate the RPMS on your install disks and then:
 
rpm -if <rpm name of package>
 
You may get other dependencies, which you must similarly resolve.
 
Alternatively, and the method I favor, is to go to the mysql.com site and download the .tar.gz files and install that way. The instructions for the installation are pretty straightforward. But, be warned that the databases for 3.xx and 4.xx (the grant tables in particular) must be repaired.
 
You would have to fix your grant tables no matter how you do the install.
 
Hope this helps
Bill