Re: Installation problems on Mac OS X

Edward Rudd <[email protected]> Fri, 16 Jul 2004 12:05:23 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
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 <[email protected]>
Website http://www.outoforder.cc/

_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBA+ArTvwMxRUUct20RArP/AJkBQHtu9TSjcGpfHRK0cBcFcak55QCdG8zV
Dv2NwhlqNLZ7PYN8k6TiE2o=
=9sb7
-----END PGP SIGNATURE-----