Date: Wednesday, April 4, 2007 @ 16:00:24
Author: marc
Path: /cvsroot/carob/libmysequoia
Modified: configure.ac (1.48 -> 1.49)
Now explicitely linking ourselves to mysqlclient to:
- simplify the LD_PRELOAD line (only libmysequoia needed)
- get rid of nasty lookup scopes priorities
--------------+
configure.ac | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: libmysequoia/configure.ac
diff -u libmysequoia/configure.ac:1.48 libmysequoia/configure.ac:1.49
--- libmysequoia/configure.ac:1.48 Tue Apr 3 11:26:02 2007
+++ libmysequoia/configure.ac Wed Apr 4 16:00:24 2007
@@ -165,6 +165,17 @@
AC_MSG_NOTICE([[Compiling libmysequoia version $major_version.0.0]])
+# link ourselves to libmysqlclient to workaround
+# /usr/bin/php.dlopen(RTLD_DEEPBIND) madness or similar, by ensuring
+# we are both in the same lookup scope, so we side-step any subtle
+# priorities between different scopes.
+
+AC_CHECK_LIB([mysqlclient], [main], ,
+ [AC_MSG_ERROR([[libmysqlclient not found. Try to fix LDFLAGS, for
instance:
+ ./configure LDFLAGS="... -L/usr/local/lib"]])]
+ )
+
+
# Check for log4cxx headers and library
AC_CHECK_HEADER([log4cxx/logger.h], ,
[AC_MSG_ERROR([[log4cxx/logger.h not found. Try to fix
CPPFLAGS, for instance:
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits