From: Steven Hansen Date: 2006-12-07T01:57:06+09:00 Subject: Re: Using Mkmf to Verify Libraries vincent.fourmond@9online.fr wrote: > > 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 Daniel and Vince, thanks for the leads. :-) Regards, Steven