Advice re mysql and php dependency required

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
jamster
Forum User
Forum User
Posts: 23
Joined: Sat Mar 12, 2005 7:06 pm

Advice re mysql and php dependency required

Unread post by jamster »

Hi Scott / All,

First, this is a wonderful resource, many thanks Scott.

We've been using it for 12 months now, however when you upgraded to MySQL 4.1 we had to stay at 4.0 ( I set up a local repository with your last 4.0 rpms and excluded them from the ART repository in yum.conf) as we have a large number of sites with legacy code that will break in 4.1.

With php 4.4.2, when I try to yum update, I get:
Package php-mysql needs libmysqlclient.so.14, this is not available.
Obviously this is because it has been built against the mysql 4.1 libmysqlclient which we're ommitting to install.

What's the best way around this? I don't mind getting my hands dirty rebuilding rpms etc, but some preliminary advice to set me on my way would be handy if you have the chance. I've recompiled before but that was a much simpler tast as it wasn't integrated in to Yum. As I say, happy to get stuck on on my test/staging box but some pointers would be good so I can know I'm on the right tracks. :)

Chris.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

4.4.2 is linked against Mysql 4.1, so it wont work without it.
jamster
Forum User
Forum User
Posts: 23
Joined: Sat Mar 12, 2005 7:06 pm

Unread post by jamster »

scott wrote:4.4.2 is linked against Mysql 4.1, so it wont work without it.
Cheers Scott. Does this mean there's no way around it (could it be built with a link against MySQL 4.0 instead?).
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

sure, you just need to recompile it on a system with whatever libraries you are planning on linking it against (3/4/4.1/5)
Post Reply