From: vincent.fourmond@9online.fr
Date: 2006-12-06T18:32:09+09:00
Subject: Re: Using Mkmf to Verify Libraries
> I have two identical machines.
Careful, 'identical' means the md5sum of all disks match and the hardware is the same. That's hard ;-)...
> On machine 1:
> find_library('mysqlclient', 'mysql_query', '/path/to/lib') => true
> On machine 2:
> find_library('mysqlclient', 'mysql_query', '/path/to/lib') => false
> libmysqlclient.a is installed in the exact same location on both
> machines.
There are several things that could be causing this. First, are you sure that the rbconfig.rb files are the same in both machines ? There are several path stored in this file. Moreover, mkmf is aware of some environment variables. Check first that
set
and
ruby -r rbconfig -e 'p Config::CONFIG'
gives you the same things. If not, it should be easy to track the problem.
Cheers,
Vince