httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Constable <>
Subject apr_dbd_mysql for apache2.2
Date Sat, 28 Oct 2006 07:10:00 GMT
I'm trying to build an apr-util with apr_dbd_mysql.c so I

into the apr-util-1.2.7/dbd build directory and did a buildconf
as the apr-util INSTALL.MySQL says. I added --with-mysql to the
configure invocation and all seems well...

 checking mysql.h usability... no
 checking mysql.h presence... no
 checking for mysql.h... no
 checking mysql/mysql.h usability... yes
 checking mysql/mysql.h presence... yes
 checking for mysql/mysql.h... yes
 checking for mysql_init in -lmysqlclient_r... yes
   adding "-Iyes/include/myql" to APRUTIL_INCLUDES
   adding "-lmysqlclient_r" to APRUTIL_EXPORT_LIBS
   adding "-lmysqlclient_r" to APRUTIL_LIBS

however, after installing the resulting package I get...

# nm -D /usr/lib/ | grep mysql
         U apr_dbd_mysql_driver

and apache obviously complains about an...

 undefined symbol: apr_dbd_mysql_driver

and in the dbd/ folder there is no apr_dbd_mysql.lo or 
apr_dbd_mysql.o as I would expect. No doubt it's just a build
issue but would anyone have a suggestion what to do next ?


View raw message