[Mod_log_sql] Installation problems on Mac OS X

Clay Loveless clay at killersoft.com
Tue Jul 13 19:47:47 EST 2004

On 7/13/04 5:23 PM Pacific Time, Edward Rudd (urkle at outoforder.cc) wrote:

> On Tue, 2004-07-13 at 18:48, Clay Loveless wrote:
>> ... No mod_log_sql_mysql.so, which generated some errors during 'make
>> install'.
> hmm. interesting.. do you have the mysql client libs installed
> correctly? Where there any other warnings during the make?

Nope, no other warnings. I do have the mysql client libs installed
correctly, I believe ... I just built the new PHP 5.0.0 release against them
this afternoon without any trouble.

>> Warning!  dlname not found in
>> /usr/local/apache2/modules/mod_log_sql_mysql.la.
>> Assuming installing a .so rather than a libtool archive.
>> chmod 755 /usr/local/apache2/modules/mod_log_sql_mysql.so
>> chmod: /usr/local/apache2/modules/mod_log_sql_mysql.so: No such file or
>> directory
>> apxs:Error: Command failed with rc=65536
>> ... Essentially the same error as before, but it just appears in a different
>> location now.
> run
> apxs -i -n log_sql_mysql mod_log_sql_mysql.la

Unfortunately, that resulted in the same apxs:Error.

Searching Google for "apxs:Error: Command failed with rc=65536" produces a
scary amount of hits, with no clear answer to what is apparently a pretty
common problem.

I did find something relating to libtool on OS X in regard to the apxs
problem. I've upgraded libtool to 1.5.2, and am rebuilding Apache 2.0.50
now. Perhaps that'll fix it ... But the problem definitely appears to be
with apxs, not mod_log_sql.

Thanks, Edward!


More information about the Mod_log_sql mailing list