DAVID CLARK <dapclark@stripped> wrote:
> OK, I messed up. I've been running MySQL 3.23, and I
> wanted to upgrade to 4.0 so I could use the new
> boolean functions. So I downloaded the 4.0 RPM, and
> then tried to install it using -U. I received this
> message:
>
> libmysqlclient.so.10 is needed by (installed)
> perl-DBD-MySQL-2.1017-3
> libmysqlclient.so.10 is needed by (installed)
> php-mysql-4.2.2-8.0.7
>
> I already had these files in /usr/lib/mysql, so I
> tried installing again using --nodeps. Now I can't
> connect at all, and I've tried both --oldpackage ing
> and -erase ing with no luck. What can I do to either
> get 3.23 back and running or get 4.0 working?
A dirty trick:
1. Do rpm --upgrade for MySQL-server, MySQL-client,
MySQL-devel but not for MySQL-shared.
2. Save /usr/lib/libmysqlclient.so.10* into somewhere
3. Do rpm --erase --force MySQL-shared
4. Do rpm --install MySQL-shared
5. Move saved files back to /usr/lib
6. Run ldconfig as root.
In result, you will have the older v10 libs intact for various software.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com