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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.