Re: Installation problems on Mac OS X

Edward Rudd <[email protected]> Wed, 14 Jul 2004 02:33:21 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
On Wed, 2004-07-14 at 02:07, Clay Loveless wrote:
> On 7/13/04 8:18 PM Pacific Time, Edward Rudd ([email protected]) wrote:
> 
> Would it make a difference what version of MySQL libraries I have installed?
> I've got 4.1.3 libraries in place, which again, have been pulled in and used
> by a PHP build today without incident.
> 
I've only tested the code with 3.23.x and 4.0.x, but it should work with
4.1.x fine.


> 
> *** Warning: linker path does not have real file for library -lmysqlclient.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libmysqlclient and none of the candidates passed a file format test
> *** using a file magic. Last file checked:
> /usr/local/mysql/lib/libmysqlclient.a
> 
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencies of module mod_log_sql_mysql.  Therefore, libtool will
> create
> *** a static module, that should work as long as the dlopening
> *** application is linked with the -dlopen flag.

This huge paragraph above, That's the "warning/error" I was looking for.
that explains exactly why there is no .so for the mysql module.. it
seems as though your mysql install does not have shared client libraries
installed, or has them in some other place that libtool couldn't find..
If they are installed make sure that path is added to LDFLAGS in the
Makefile.. 

-- 
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)

iD8DBQBA9OHAvwMxRUUct20RArJ5AKCGMiWbtRMMIm3EtZCbQDwZdn+0TQCeL2gi
7y57fkh46wsKiar2eq4KQkM=
=tFEP
-----END PGP SIGNATURE-----