Re: mod_ruby weirdness

Shugo Maeda <[email protected]> Wed, 29 Jun 2005 14:02:35 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

SteveC wrote:
> So I have two copies of libmysql client libmysqlclient12 and
> libmysqlclient14 (debian packages). The former is needed by php4-mysql
> and other things and connects to mysql 4.0.x. The latter is what I
> compiled the ruby mysql connector against to connect to mysql 4.1.x as
> the mysql ruby connector with debian is compiled against the old version
> (12). We can see this with ldd that its only linked against the newer
> version:

I don't know MySQL well, but I think you can't link the differenct
versions of libmysqlclient at the same time.

> I would really like apache or mod_ruby or whatever to select the correct
> damn libmysqlclient. How can I do this?

How about the pure ruby version of MySQL client?

  http://raa.ruby-lang.org/project/ruby-mysql/

Or please run the other apache instance for mod_ruby
on different ports from the PHP's one.

Shugo