[Mod_log_sql] Installation problems on Mac OS X

Edward Rudd urkle at outoforder.cc
Fri Jul 16 12:05:23 EST 2004

On Fri, 2004-07-16 at 05:14, Clay Loveless wrote:
> Hi Edward,

> apachectl configtest
> Syntax OK
> dyld: /usr/local/apache2/bin/httpd Undefined symbols:
> _mysql_close
> _mysql_errno
> _mysql_error
> _mysql_escape_string
> _mysql_init
> _mysql_query
> _mysql_real_connect
> _mysql_real_escape_string
> /usr/sbin/apachectl: line 99: 23095 Trace/BPT trap          $HTTPD -t
> Any idea how I'd go about chasing this one down?
The mysql client library isn't being loaded into apache. most likely it
can't find it as it's not in the library path.  the easiest solution is
to add this before loading the mod_log_sql_mysql module

LoadFile /usr/local/mysql/libmysqlclient.so

except replace the path with the path to the mysql client lib that you
linked with.

Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040716/6d3f6f2d/attachment.bin 

More information about the Mod_log_sql mailing list