Hi Ethan,

Ethan Funk writes:
 > I am trying to build the mysql driver (libdbi-driver 0.8.3-1) so that:
 > 
 > 1. It is not dependent on the mysql client library being installed on  
 > my software's end user's computer.

You'd have to statically link the driver against libmysqlclient. I
guess the proper way to do so is to add appropriate flags to the
MYSQL_LDFLAGS variable of Makefile.am in the drivers/mysql subdir and
run ./autogen.sh and ./configure again.

 > 2. The driver is build against the reentrant version of the mysql  
 > client library.  As it stands, the build process seems to link against  
 > both the standard and reentrant client libraries.  I'm not clear as to  
 > how the driver make use of both.
 > 

What makes you believe that two client libraries are involved? The
driver's Makefile uses the recommended linking flag (-lmysqlclient)
which links against whatever MySQL provides under that name. I've
never checked whether libmysqlclient itself depends on other libraries
provided by MySQL. This might explain the dependency on more than one
library. I reckon you'll get more helpful answers to this problem on a
MySQL mailing list.

hope this helps
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to