apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: svn commit: r409065 - in /apr/apr-util/branches/1.2.x: build/dbd.m4 dbd/apr_dbd_pgsql.c
Date Thu, 01 Jun 2006 10:18:57 GMT
On Thu, Jun 01, 2006 at 07:57:58PM +1000, Bojan Smojver wrote:
> On Thu, 2006-06-01 at 10:06 +0100, Joe Orton wrote:
> > The MySQL stuff needs to be disabled by default (as it was previously?) 
> > since the MySQL driver is not included in apr-util.  Currently all 
> > builds are failing on platforms with MySQL installed.
> 
> I just checked out 1.2.x of APR/APU and built successfully on FC5. I
> have mysql-devel package installed (and it was detected) but I left the
> driver out. No problems at all.

Did you try to link anything against that libaprutil? e.g. just try a 
"make -C test testall"

Actually I guess the fact that this was working previously was just luck 
on FCx since it wasn't looking in the right place for mysql.h etc.

> Do you have the log of the build?

e.g. the failing bit:

/tmp/regressW16059/build-trunk-prefork-debug/srclib/apr/libtool --silent 
--mode=link gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -pthread     -L/usr/lib64/mysql -lmysqlclient_r 
-lz -lpthread -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto   -o 
htdigest  htdigest.lo    
/tmp/regressW16059/build-trunk-prefork-debug/srclib/pcre/libpcre.la   
/tmp/regressW16059/build-trunk-prefork-debug/srclib/apr-util/libaprutil-1.la 
-lldap -llber -ldb-4.3 -lpq -lmysqlclient_r -lsqlite3 -lexpat 
/tmp/regressW16059/build-trunk-prefork-debug/srclib/apr/libapr-1.la 
-luuid -lrt -lcrypt -lpthread -ldl
/tmp/regressW16059/build-trunk-prefork-debug/srclib/apr-util/.libs/libaprutil-1.so: 
undefined reference to `apr_dbd_mysql_driver'
collect2: ld returned 1 exit status


Mime
View raw message