[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] apr-util patch for wierd crash problem

From: Jay Freeman \(saurik\) <saurik_at_saurik.com>
Date: 2002-01-16 10:39:25 CET

OK, I finally figured out what was going on. The configure scripts for
apr-util are incorrectly referencing -ldb4 rather than -ldb-4 (which is
what db4 actually installs as).
 
Index: srclib/apr-util/build/apu-conf.m4
===================================================================
RCS file: /home/cvspublic/apr-util/build/apu-conf.m4,v
retrieving revision 1.24
diff -u -r1.24 apu-conf.m4
--- srclib/apr-util/build/apu-conf.m4 2 Jan 2002 23:59:26 -0000
1.24
+++ srclib/apr-util/build/apu-conf.m4 16 Jan 2002 09:37:29 -0000
@@ -142,9 +142,9 @@
 dnl
 AC_DEFUN(APU_CHECK_DB4,[
 AC_CHECK_HEADER(db4/db.h, [
- AC_CHECK_LIB(db4, db_create, [
+ AC_CHECK_LIB(db-4, db_create, [
   apu_db_header=db4/db.h
- apu_db_lib=db4
+ apu_db_lib=db-4
   apu_db_version=4
   ])])
 if test "$apu_db_version" != "4"; then
 
Even though everything SEEMED to be building against db4, it apparently
wasn't.
 
Sincerely,
Jay Freeman (saurik)
saurik@saurik.com
Received on Sat Oct 21 14:36:56 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.