Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Le 17/06/11 12:51, Petr Mladek a écrit :


Hi Petr, *,

OK, I've sussed it.

The path to provide is :

"/usr/local/mysql/"

or

"/usr/local/mysql-5.1.50-osx10.6-x86_64/"


However, the configure.in script needs modifying at line 4737 to tell it
to look for libmysqlclient.dylib. I have enclosed a diff patch that
shows this change.

Released under the usual LGPL3/MPL license.

Alex
diff --git a/configure.in b/configure.in
index 5177e4e..9c61b3e 100755
--- a/configure.in
+++ b/configure.in
@@ -4734,7 +4734,7 @@ else
         AC_MSG_RESULT([external Connector/C (libmysql)])
         LIBMYSQL=libmysql.so
         if test "$_os" = "Darwin"; then
-            LIBMYSQL=libmysql.dylib
+            LIBMYSQL=libmysqlclient.dylib
         elif test "$_os" = "WINNT"; then
             LIBMYSQL=libmysql.dll
         fi

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.