this one time in band camp Mark Constable said on 10/28/06 00:10:
I'm trying to build an apr-util with apr_dbd_mysql.c so I
downloaded...
http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c
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/libaprutil-1.so.0 | 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 ?
Yes, use apr 1.2.8-dev .... The mysql detection was fixed to use mysql_config
instead of checking 2 hard coded places.
--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide....