You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Joe Knall <jo...@gmx.net> on 2005/12/21 00:24:51 UTC
apache-2.2.0, mod_dbd und Mysql
Hi,
ich möchte httpd-2.2.0 mit mod_dbd und Mysql-Anschluss kompilieren,
gelingt aber nicht. Hat das schon wer geschafft, kann mir wer helfen,
oder habe ich vielleicht was völlig falsch verstanden?
In der Doku finde ich:
(http://httpd.apache.org/docs/2.2/mod/mod_dbd.html)
DBDriver Directive
Description: Specify an SQL driver
Selects an apr_dbd driver by name. The driver must be installed on your
system (on most systems, it will be a shared object or dll). For
example, DBDriver mysql will select the MySQL driver in
apr_dbd_mysql.so.
und in der Beschreibung der DBD API:
(http://people.apache.org/~niq/dbd.html)
A MySQL driver is available separately.
Habe beim configure CPPFLAGS und LDFLAGS zu Mysql angegeben (um
apr_dbd_mysql.so zu erhalten - so stell ich mir das vor), ./configure
bestätigt auch brav:
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... yes
setting APRUTIL_EXPORT_LIBS to "-lmysqlclient_r"
setting APRUTIL_LIBS to "-lmysqlclient_r"
make endet aber mit Fehler:
/usr/local/src/httpd-2.2.0/srclib/apr-util/.libs/libaprutil-1.so:
undefined reference to `apr_dbd_mysql_driver'
Danke für Hinweise
Joe
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------